mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:27:34 +00: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:
parent
8414734a2d
commit
8556d47240
61 changed files with 179 additions and 180 deletions
53
Userland/Libraries/LibWeb/ARIA/ARIAMixin.idl
Normal file
53
Userland/Libraries/LibWeb/ARIA/ARIAMixin.idl
Normal file
|
@ -0,0 +1,53 @@
|
|||
// https://www.w3.org/TR/wai-aria-1.2/#ARIAMixin
|
||||
interface mixin ARIAMixin {
|
||||
attribute DOMString? role;
|
||||
|
||||
attribute DOMString? ariaAtomic;
|
||||
attribute DOMString? ariaAutoComplete;
|
||||
attribute DOMString? ariaBusy;
|
||||
attribute DOMString? ariaChecked;
|
||||
attribute DOMString? ariaColCount;
|
||||
attribute DOMString? ariaColIndex;
|
||||
|
||||
attribute DOMString? ariaColSpan;
|
||||
|
||||
attribute DOMString? ariaCurrent;
|
||||
|
||||
|
||||
|
||||
attribute DOMString? ariaDisabled;
|
||||
|
||||
attribute DOMString? ariaExpanded;
|
||||
|
||||
attribute DOMString? ariaHasPopup;
|
||||
attribute DOMString? ariaHidden;
|
||||
attribute DOMString? ariaInvalid;
|
||||
attribute DOMString? ariaKeyShortcuts;
|
||||
attribute DOMString? ariaLabel;
|
||||
|
||||
attribute DOMString? ariaLevel;
|
||||
attribute DOMString? ariaLive;
|
||||
attribute DOMString? ariaModal;
|
||||
attribute DOMString? ariaMultiLine;
|
||||
attribute DOMString? ariaMultiSelectable;
|
||||
attribute DOMString? ariaOrientation;
|
||||
|
||||
attribute DOMString? ariaPlaceholder;
|
||||
attribute DOMString? ariaPosInSet;
|
||||
attribute DOMString? ariaPressed;
|
||||
attribute DOMString? ariaReadOnly;
|
||||
|
||||
attribute DOMString? ariaRequired;
|
||||
attribute DOMString? ariaRoleDescription;
|
||||
attribute DOMString? ariaRowCount;
|
||||
attribute DOMString? ariaRowIndex;
|
||||
|
||||
attribute DOMString? ariaRowSpan;
|
||||
attribute DOMString? ariaSelected;
|
||||
attribute DOMString? ariaSetSize;
|
||||
attribute DOMString? ariaSort;
|
||||
attribute DOMString? ariaValueMax;
|
||||
attribute DOMString? ariaValueMin;
|
||||
attribute DOMString? ariaValueNow;
|
||||
attribute DOMString? ariaValueText;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue