Timothy Flynn
c911781c21
Everywhere: Remove needless trailing semi-colons after functions
...
This is a new option in clang-format-16.
2023-07-08 10:32:56 +01:00
Jonah
e9840bfd4e
LibWeb: Build out the ARIA role model
...
We now have implemented the ARIA role model. These classes will
control which states and properties are exposed to end users.
2023-07-06 11:21:36 +01:00
Jonah
125792e5ff
LibWeb: Add helper functions for handling ARIA state and properties
...
These will make serializing and calculating default values easier.
2023-07-06 11:21:36 +01:00
Jonah
57a6d577ad
LibWeb: Add AriaData object to parse ARIAMixin data
...
This provides an easily serializeable interface for us to use in IPC.
2023-07-06 11:21:36 +01:00
Andreas Kling
a504ac3e2a
Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case
...
Let's make it clear that these functions deal with ASCII case only.
2023-03-10 13:15:44 +01:00
Jonah
fc3ee471ed
LibWeb: Add ARIA::allows_name_from_content
...
This is required to implement accessible name and description
calculation.
2023-02-19 15:58:20 +01:00
MacDue
489fe49321
LibWeb: Fix parsing/to_string for "switch" ARIA role
...
I accidentally regressed this in 890b4d7
, this role needs to be
handled specially due to the clash with the C++ 'switch' keyword.
2023-01-29 00:57:41 +00:00
Linus Groh
476d4b4963
LibWeb: Remove no longer needed DeprecatedFlyString.h includes
...
ARIA roles no longer use DeprecatedFlyString, replace them with the
forwarding header, and StringView.h in one case, for other things from
AK used in those headers.
2023-01-29 00:02:55 +00:00
Linus Groh
8556d47240
LibWeb: Move ARIA-related code into the Web::ARIA namespace
...
ARIA has its own spec and is not part of the DOM spec, which is what the
Web::DOM namespace is for (https://www.w3.org/TR/wai-aria-1.2/ ).
This allows us to stay closer to the spec with function names and don't
have to add the word "ARIA" to identifiers constantly - the namespace
now provides that clarity.
2023-01-29 00:02:55 +00:00