mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
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.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 14:33:07 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/8556d47240 Pull-request: https://github.com/SerenityOS/serenity/pull/17227
@@ -76,7 +76,7 @@ void HTMLTableCellElement::set_row_span(unsigned int value)
|
||||
MUST(set_attribute(HTML::AttributeNames::rowspan, DeprecatedString::number(value)));
|
||||
}
|
||||
|
||||
Optional<DOM::ARIARoles::Role> HTMLTableCellElement::default_role() const
|
||||
Optional<ARIA::Role> HTMLTableCellElement::default_role() const
|
||||
{
|
||||
// TODO: For td:
|
||||
// role=cell if the ancestor table element is exposed as a role=table
|
||||
|
||||
Reference in New Issue
Block a user