ladybird/Libraries/LibWeb/ARIA
sideshowbarker 7a4a9cc7bc LibWeb: Extract ARIA role-attribute checking out from role_or_default()
This change separates the steps for checking the string value of the
ARIA “role” attribute out from the element.role_or_default() function
into a separate function — in order to expose a way to just check if the
ARIA “role” attribute actually has a value, without also then computing
a default role value if no “role” attribute value was found.

Otherwise, without this change, the only available function for
retrieving ARIA role values is the element.role_or_default() function —
which always does the additional step of computing (and returning) a
default role value if no “role” attribute is found.
2024-12-06 18:31:45 +00:00
..
AriaData.cpp
AriaData.h
ARIAMixin.cpp LibWeb: Extract ARIA role-attribute checking out from role_or_default() 2024-12-06 18:31:45 +00:00
ARIAMixin.h LibWeb: Extract ARIA role-attribute checking out from role_or_default() 2024-12-06 18:31:45 +00:00
ARIAMixin.idl
AriaRoles.json
AttributeNames.cpp
AttributeNames.h
Roles.cpp
Roles.h
RoleType.cpp
RoleType.h
StateAndProperties.cpp
StateAndProperties.h