Skip to content

Truly independent web browser

LibWeb: Remove the unused ARIA role model

Aliaksandr Kalenikcba329829631
diff --git a/Libraries/LibWeb/ARIA/AriaRoles.json b/Libraries/LibWeb/ARIA/AriaRoles.json
deleted file mode 100644
index bdac5d88df9..00000000000
--- a/Libraries/LibWeb/ARIA/AriaRoles.json
+++ /dev/null
@@ -1,4559 +0,0 @@
-{
- "Structure": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#structure",
- "description": "A document structural element.",
- "superClassRoles": [
- "RoleType"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": null,
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Widget": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#widget",
- "description": "An interactive component of a graphical user interface (GUI).",
- "superClassRoles": [
- "RoleType"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": null,
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Window": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#window",
- "description": "A browser or application window.",
- "superClassRoles": [
- "RoleType"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-modal",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Composite": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#composite",
- "description": "A widget that may contain navigable descendants or owned children.",
- "superClassRoles": [
- "Widget"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Application": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#application",
- "description": "A structure containing one or more focusable elements requiring user input, such as keyboard or gesture events, that do not follow a standard interaction pattern supported by a widget role.",
- "superClassRoles": [
- "Structure"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden",
- "aria-invalid"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Document": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#document",
- "description": "An element containing content that assistive technology users may want to browse in a reading mode.",
- "superClassRoles": [
- "Structure"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Generic": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#generic",
- "description": "A nameless container element that has no semantic meaning on its own.",
- "superClassRoles": [
- "Structure"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-label",
- "aria-labelledby",
- "aria-roledescription"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Presentation": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#presentation",
- "description": "An element whose implicit native role semantics will not be mapped to the accessibility API. See synonym none.",
- "superClassRoles": [
- "Structure"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Range": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#range",
- "description": "An element representing a range of values.",
- "superClassRoles": [
- "Structure"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription",
- "aria-valuemax",
- "aria-valuemin",
- "aria-valuenow",
- "aria-valuetext"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": null,
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "RowGroup": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#rowgroup",
- "description": "A structure containing one or more row elements in a tabular container.",
- "superClassRoles": [
- "Structure"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "grid",
- "table",
- "treegrid"
- ],
- "requiredOwnedElements": [
- "row"
- ],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Section": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#section",
- "description": "A renderable structural containment unit in a document or application.",
- "superClassRoles": [
- "Structure"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": null,
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "SectionFooter": {
- "specLink": "https://w3c.github.io/aria/#sectionfooter",
- "description": "A set of user interface objects and information representing information about its closest ancestral content group.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "SectionHeader": {
- "specLink": "https://w3c.github.io/aria/#sectionheader",
- "description": "A set of user interface objects and information that represents a collection of introductory items for the element's closest ancestral content group.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Input": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#input",
- "description": "A generic type of widget that allows user input.",
- "superClassRoles": [
- "Widget"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "SectionHead": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#sectionhead",
- "description": "A structure that labels or summarizes the topic of its related section.",
- "superClassRoles": [
- "Structure"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": null,
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "FocusableSeparator": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#separator",
- "description": "A divider that separates and distinguishes sections of content or groups of menuitems.\n// NOTE: This is not an actual aria role, but Separator has distinct behavior and inheritance\n// depending on if it is focusable or not, so it is implemented as two classes.\n// Also see NonFocusableSeparator.",
- "superClassRoles": [
- "Widget"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-orientation",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription",
- "aria-valuemax",
- "aria-valuemin",
- "aria-valuetext"
- ],
- "requiredStates": [],
- "requiredProperties": [
- "aria-valuenow"
- ],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": true,
- "implicitValueForRole": {
- "aria-orientation": "AriaOrientation::Horizontal",
- "aria-valuemin": "0.0",
- "aria-valuemax": "100.0"
- }
- },
- "NonFocusableSeparator": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#separator",
- "description": "A divider that separates and distinguishes sections of content or groups of menuitems.\n// NOTE: This is not an actual aria role, but Separator has distinct behavior and inheritance\n// depending on if it is focusable or not, so it is implemented as two classes.\n// Also see FocusableSeparator.",
- "superClassRoles": [
- "Structure"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-orientation",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": true,
- "implicitValueForRole": {
- "aria-orientation": "AriaOrientation::Horizontal"
- }
- },
- "Article": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#article",
- "description": "A section of a page that consists of a composition that forms an independent part of a document, page, or site.",
- "superClassRoles": [
- "Document"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-posinset",
- "aria-relevant",
- "aria-roledescription",
- "aria-setsize"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Meter": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#meter",
- "description": "An element that represents a scalar measurement within a known range, or a fractional value. See related progressbar.",
- "superClassRoles": [
- "Range"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription",
- "aria-valuemax",
- "aria-valuemin",
- "aria-valuetext"
- ],
- "requiredStates": [],
- "requiredProperties": [
- "aria-valuenow"
- ],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {
- "aria-valuemin": "0.0",
- "aria-valuemax": "100.0"
- }
- },
- "Progressbar": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#progressbar",
- "description": "An element that displays the progress status for tasks that take a long time.\n// NOTE: Progresbar also inherits from Widgetfrom Cell, but we can't do that in C++ due to Progressbar already inheriting from Widget\n// This is fine because behavior is still correct and is() will still work as expected.",
- "superClassRoles": [
- "Range"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription",
- "aria-valuemax",
- "aria-valuemin",
- "aria-valuenow",
- "aria-valuetext"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {
- "aria-valuemin": "0.0",
- "aria-valuemax": "100.0"
- }
- },
- "Scrollbar": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#scrollbar",
- "description": "A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area.",
- "superClassRoles": [
- "Range",
- "Widget"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-orientation",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription",
- "aria-valuemax",
- "aria-valuemin",
- "aria-valuetext"
- ],
- "requiredStates": [],
- "requiredProperties": [
- "aria-controls",
- "aria-valuenow"
- ],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": true,
- "implicitValueForRole": {
- "aria-orientation": "AriaOrientation::Vertical",
- "aria-valuemin": "0.0",
- "aria-valuemax": "100.0"
- }
- },
- "Slider": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#slider",
- "description": "An input where the user selects a value from within a given range.",
- "superClassRoles": [
- "Input",
- "Range"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-orientation",
- "aria-owns",
- "aria-relevant",
- "aria-readonly",
- "aria-roledescription",
- "aria-valuemax",
- "aria-valuemin"
- ],
- "requiredStates": [],
- "requiredProperties": [
- "aria-valuenow"
- ],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {
- "aria-orientation": "AriaOrientation::Horizontal",
- "aria-valuemin": "0.0",
- "aria-valuemax": "100.0"
- }
- },
- "SpinButton": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#spinbutton",
- "description": "A form of range that expects the user to select from among discrete choices.",
- "superClassRoles": [
- "Composite",
- "Input",
- "Range"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-readonly",
- "aria-required",
- "aria-relevant",
- "aria-roledescription",
- "aria-valuemax",
- "aria-valuemin",
- "aria-valuenow",
- "aria-valuetext"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {
- "aria-valuenow": "0.0"
- }
- },
- "Alert": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#alert",
- "description": "A type of live region with important, and usually time-sensitive, information. See related alertdialog and status.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {
- "aria-live": "AriaLive::Assertive",
- "aria-atomic": "true"
- }
- },
- "BlockQuote": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#blockquote",
- "description": "A section of content that is quoted from another source.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Caption": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#caption",
- "description": "Visible content that names, and may also describe, a figure, table, grid, or treegrid.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [
- "figure",
- "grid",
- "group",
- "radiogroup",
- "table",
- "treegrid"
- ],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Cell": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#cell",
- "description": "A cell in a tabular container. See related gridcell.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-colindex",
- "aria-colindextext",
- "aria-colspan",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription",
- "aria-rowindex",
- "aria-rowindextext",
- "aria-rowspan"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "row"
- ],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Code": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#code",
- "description": "A section whose content represents a fragment of computer code.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Definition": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#definition",
- "description": "A definition of a term or concept. See related term.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Deletion": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#deletion",
- "description": "A deletion contains content that is marked as removed or content that is being suggested for removal. See related insertion.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Emphasis": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#emphasis",
- "description": "One or more emphasized characters. See related strong.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Figure": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#figure",
- "description": "A perceivable section of content that typically contains a graphical document, images, code snippets, or example text. The parts of a figure MAY be user-navigable.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Group": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#group",
- "description": "A set of user interface objects that is not intended to be included in a page summary or table of contents by assistive technologies.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Img": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#img",
- "description": "A container for a collection of elements that form an image.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {}
- },
- "Insertion": {
- "specLink": "",
- "description": "",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Landmark": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#landmark",
- "description": "A perceivable section containing content that is relevant to a specific, author-specified purpose and sufficiently important that users will likely want to be able to navigate to the section easily and to have it listed in a summary of the page. Such a page summary could be generated dynamically by a user agent or assistive technology.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "List": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#list",
- "description": "A section containing listitem elements. See related listbox.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [
- "listitem"
- ],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "ListItem": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#listitem",
- "description": "A single item in a list or directory.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-level",
- "aria-live",
- "aria-owns",
- "aria-posinset",
- "aria-relevant",
- "aria-roledescription",
- "aria-setsize"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "directory",
- "list"
- ],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Log": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#log",
- "description": "A type of live region where new information is added in meaningful order and old information may disappear. See related marquee.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {
- "aria-live": "AriaLive::Polite"
- }
- },
- "Marquee": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#marquee",
- "description": "A type of live region where non-essential information changes frequently. See related log.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Math": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#math",
- "description": "Content that represents a mathematical expression.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Note": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#note",
- "description": "A section whose content is parenthetic or ancillary to the main content of the resource.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Paragraph": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#paragraph",
- "description": "A paragraph of content.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Status": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#status",
- "description": "A type of live region whose content is advisory information for the user but is not important enough to justify an alert, often but not necessarily presented as a status bar.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {
- "aria-live": "AriaLive::Polite",
- "aria-atomic": "true"
- }
- },
- "Strong": {
- "specLink": "https://w3c.github.io/aria/#strong",
- "description": "Content that is important, serious, or urgent.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Subscript": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#subscript",
- "description": "One or more subscripted characters. See related superscript.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Suggestion": {
- "specLink": "https://w3c.github.io/aria/#suggestion",
- "description": "A single proposed change to content.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [
- "insertion",
- "deletion"
- ],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Superscript": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#superscript",
- "description": "One or more superscripted characters. See related superscript.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Table": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#table",
- "description": "A section containing data arranged in rows and columns. See related grid.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-colcount",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription",
- "aria-rowcount"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [
- "caption",
- "row",
- "rowgroup"
- ],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "TabPanel": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#tabpanel",
- "description": "A container for the resources associated with a tab, where each tab is contained in a tablist.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Term": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#term",
- "description": "A word or phrase with a corresponding definition. See related definition.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Time": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#time",
- "description": "An element that represents a specific point in time.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Tooltip": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#tooltip",
- "description": "A contextual popup that displays a description for an element.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Dialog": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#dialog",
- "description": "A dialog is a descendant window of the primary window of a web application. For HTML pages, the primary application window is the entire web document, i.e., the body element.",
- "superClassRoles": [
- "Window"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-modal",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "AlertDialog": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#alertdialog",
- "description": "A type of dialog that contains an alert message, where initial focus goes to an element within the dialog. See related alert and dialog.",
- "superClassRoles": [
- "Alert",
- "Dialog"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-modal",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "GridCell": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#gridcell",
- "description": "A cell in a grid or treegrid.",
- "superClassRoles": [
- "Cell",
- "Widget"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden",
- "aria-invalid",
- "aria-selected"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-colindex",
- "aria-colindextext",
- "aria-colspan",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-readonly",
- "aria-relevant",
- "aria-required",
- "aria-roledescription",
- "aria-rowindex",
- "aria-rowindextext",
- "aria-rowspan"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "row"
- ],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "ColumnHeader": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#columnheader",
- "description": "A cell containing header information for a column.\n// NOTE: ColumnHeader also inherits from Cell, but we can't do that in C++ due to GridCell already inheriting from Cell\n// This is fine because behavior is still correct and is() will still work as expected.",
- "superClassRoles": [
- "GridCell",
- "SectionHead"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden",
- "aria-invalid",
- "aria-selected"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-colindex",
- "aria-colindextext",
- "aria-colspan",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-readonly",
- "aria-relevant",
- "aria-required",
- "aria-roledescription",
- "aria-rowindex",
- "aria-rowindextext",
- "aria-rowspan",
- "aria-sort"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "row"
- ],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "RowHeader": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#rowheader",
- "description": "A cell containing header information for a row.\n// NOTE: RowHeader also inherits from Cell, but we can't do that in C++ due to GridCell already inheriting from Cell\n// This is fine because behavior is still correct and is() will still work as expected.",
- "superClassRoles": [
- "GridCell",
- "SectionHead"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden",
- "aria-invalid",
- "aria-selected"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-colindex",
- "aria-colspan",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-required",
- "aria-roledescription",
- "aria-rowindex",
- "aria-rowspan",
- "aria-sort"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "row"
- ],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Row": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#row",
- "description": "A row of cells in a tabular container.",
- "superClassRoles": [
- "Group",
- "Widget"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden",
- "aria-selected"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-colindex",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-expanded",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-level",
- "aria-live",
- "aria-owns",
- "aria-posinset",
- "aria-relevant",
- "aria-roledescription",
- "aria-rowindex",
- "aria-rowindextext",
- "aria-setsize"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "grid",
- "rowgroup",
- "table",
- "treegrid"
- ],
- "requiredOwnedElements": [
- "cell",
- "columnheader",
- "gridcell",
- "rowheader"
- ],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Select": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#select",
- "description": "A form widget that allows the user to make selections from a set of choices.",
- "superClassRoles": [
- "Composite",
- "Group"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-orientation",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Toolbar": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#toolbar",
- "description": "A collection of commonly used function buttons or controls represented in compact visual form.",
- "superClassRoles": [
- "Group"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-orientation",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {
- "aria-orientation": "AriaOrientation::Horizontal"
- }
- },
- "ListBox": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#listbox",
- "description": "A widget that allows the user to select one or more items from a list of choices. See related combobox and list.",
- "superClassRoles": [
- "Select"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden",
- "aria-invalid"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-expanded",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-multiselectable",
- "aria-orientation",
- "aria-owns",
- "aria-readonly",
- "aria-relevant",
- "aria-required",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [
- "group",
- "option"
- ],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {
- "aria-orientation": "AriaOrientation::Vertical"
- }
- },
- "Menu": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#menu",
- "description": "A type of widget that offers a list of choices to the user.",
- "superClassRoles": [
- "Select"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-orientation",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [
- "group",
- "menuitem",
- "menuitemradio",
- "menuitemcheckbox",
- "separator"
- ],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {
- "aria-orientation": "AriaOrientation::Vertical"
- }
- },
- "RadioGroup": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#radiogroup",
- "description": "A group of radio buttons.",
- "superClassRoles": [
- "Select"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden",
- "aria-invalid"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-orientation",
- "aria-owns",
- "aria-readonly",
- "aria-relevant",
- "aria-required",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Tree": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#tree",
- "description": "A widget that allows the user to select one or more items from a hierarchically organized collection.",
- "superClassRoles": [
- "Select"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden",
- "aria-invalid"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-multiselectable",
- "aria-orientation",
- "aria-owns",
- "aria-relevant",
- "aria-required",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [
- "group",
- "treeitem"
- ],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {
- "aria-orientation": "AriaOrientation::Vertical"
- }
- },
- "MenuBar": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#menubar",
- "description": "A presentation of menu that usually remains visible and is usually presented horizontally.",
- "superClassRoles": [
- "Menu"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [
- "group",
- "menuitem",
- "menuitemradio",
- "menuitemcheckbox",
- "separator"
- ],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {
- "aria-orientation": "AriaOrientation::Horizontal"
- }
- },
- "TreeGrid": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#treegrid",
- "description": "A grid whose rows can be expanded and collapsed in the same manner as for a tree.",
- "superClassRoles": [
- "Row"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden",
- "aria-invalid"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-colcount",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-multiselectable",
- "aria-orientation",
- "aria-owns",
- "aria-readonly",
- "aria-relevant",
- "aria-required",
- "aria-roledescription",
- "aria-rowcount"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [
- "caption",
- "row",
- "rowgroup"
- ],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Banner": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#banner",
- "description": "https://www.w3.org/TR/wai-aria-1.2/#banner",
- "superClassRoles": [
- "Landmark"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Complementary": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#complementary",
- "description": "A landmark that is designed to be complementary to the main content at a similar level in the DOM hierarchy, but remaining meaningful when separated from the main content.",
- "superClassRoles": [
- "Landmark"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "ContentInfo": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#contentinfo",
- "description": "A landmark that contains information about the parent document.",
- "superClassRoles": [
- "Landmark"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Form": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#form",
- "description": "A landmark region that contains a collection of items and objects that, as a whole, combine to create a form. See related search.",
- "superClassRoles": [
- "Landmark"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Main": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#main",
- "description": "A landmark containing the main content of a document.",
- "superClassRoles": [
- "Landmark"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Mark": {
- "specLink": "https://w3c.github.io/aria/#mark",
- "description": "Content which is marked or highlighted for reference or notation purposes, due to the content's relevance in the enclosing context.",
- "superClassRoles": [
- "Section"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [
- "aria-braillelabel",
- "aria-label",
- "aria-labelledby"
- ],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Prohibited",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Navigation": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#navigation",
- "description": "A landmark containing a collection of navigational elements (usually links) for navigating the document or related documents.",
- "superClassRoles": [
- "Landmark"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Region": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#region",
- "description": "A landmark containing content that is relevant to a specific, author-specified purpose and sufficiently important that users will likely want to be able to navigate to the section easily and to have it listed in a summary of the page. Such a page summary could be generated dynamically by a user agent or assistive technology.",
- "superClassRoles": [
- "Landmark"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Search": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#search",
- "description": "A landmark region that contains a collection of items and objects that, as a whole, combine to create a search facility. See related form and searchbox.",
- "superClassRoles": [
- "Landmark"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Directory": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#directory",
- "description": "[Deprecated in ARIA 1.2] A list of references to members of a group, such as a static table of contents.",
- "superClassRoles": [
- "List"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Feed": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#feed",
- "description": "A scrollable list of articles where scrolling may cause articles to be added to or removed from either end of the list.",
- "superClassRoles": [
- "List"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [
- "article"
- ],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
-
- "Option": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#option",
- "description": "A selectable item in a listbox.",
- "superClassRoles": [
- "Input"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-checked",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-posinset",
- "aria-relevant",
- "aria-roledescription",
- "aria-setsize"
- ],
- "requiredStates": [
- "aria-selected"
- ],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "group",
- "listbox"
- ],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {}
- },
- "TreeItem": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#treeitem",
- "description": "An option item of a tree. This is an element within a tree that may be expanded or collapsed if it contains a sub-level group of tree item elements.",
- "superClassRoles": [
- "ListItem",
- "Option"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-checked",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden",
- "aria-selected"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-level",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription",
- "aria-setsize"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "group",
- "tree"
- ],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Timer": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#timer",
- "description": "A type of live region containing a numerical counter which indicates an amount of elapsed time from a start point, or the time remaining until an end point.",
- "superClassRoles": [
- "Status"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {
- "aria-live": "AriaLive::Off"
- }
- },
- "Grid": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#grid",
- "description": "A composite widget containing a collection of one or more rows with one or more cells where some or all cells in the grid are focusable by using methods of two-dimensional navigation, such as directional arrow keys.",
- "superClassRoles": [
- "Composite",
- "Table"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-colcount",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-multiselectable",
- "aria-owns",
- "aria-readonly",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [
- "caption",
- "row",
- "rowgroup"
- ],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Heading": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#heading",
- "description": "A heading for a section of the page.",
- "superClassRoles": [
- "SectionHead"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-level",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [
- "aria-level"
- ],
- "prohibitedStates": [
- ],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Tab": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#tab",
- "description": "A grouping label providing a mechanism for selecting the tab content that is to be rendered to the user.",
- "superClassRoles": [
- "SectionHead",
- "Widget"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden",
- "aria-selected"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-posinset",
- "aria-relevant",
- "aria-roledescription",
- "aria-setsize"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "tablist"
- ],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {
- "aria-selected": "false"
- }
- },
-
- "Command": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#command",
- "description": "A form of widget that performs an action but does not receive input data.",
- "superClassRoles": [
- "Widget"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Button": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#button",
- "description": "An input that allows for user-triggered actions when clicked or pressed. See related link.",
- "superClassRoles": [
- "Command"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden",
- "aria-pressed"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {}
- },
- "Link": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#link",
- "description": "An interactive reference to an internal or external resource that, when activated, causes the user agent to navigate to that resource. See related button.",
- "superClassRoles": [
- "Command"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "MenuItem": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#menuitem",
- "description": "An option in a set of choices contained by a menu or menubar.",
- "superClassRoles": [
- "Command"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-posinset",
- "aria-relevant",
- "aria-roledescription",
- "aria-setsize"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "group",
- "menu",
- "menubar"
- ],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "MenuItemCheckBox": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#menuitemcheckbox",
- "description": "A menuitem with a checkable state whose possible values are true, false, or mixed.",
- "superClassRoles": [
- "MenuItem"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-posinset",
- "aria-relevant",
- "aria-roledescription",
- "aria-setsize"
- ],
- "requiredStates": [
- "aria-checked"
- ],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "group",
- "menu",
- "menubar"
- ],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {}
- },
- "MenuItemRadio": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#menuitemradio",
- "description": "A checkable menuitem in a set of elements with the same role, only one of which can be checked at a time.",
- "superClassRoles": [
- "MenuItemCheckBox"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-posinset",
- "aria-relevant",
- "aria-roledescription",
- "aria-setsize"
- ],
- "requiredStates": [
- "aria-checked"
- ],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [
- "group",
- "menu",
- "menubar"
- ],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {}
- },
- "CheckBox": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#checkbox",
- "description": "A checkable input that has three possible values: true, false, or mixed.",
- "superClassRoles": [
- "Input"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden",
- "aria-invalid"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-readonly",
- "aria-relevant",
- "aria-required",
- "aria-roledescription"
- ],
- "requiredStates": [
- "aria-checked"
- ],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {}
- },
- "ComboBox": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#combobox",
- "description": "An input that controls another element, such as a listbox or grid, that can dynamically pop up to help the user set the value of the input.",
- "superClassRoles": [
- "Input"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-autocomplete",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-readonly",
- "aria-relevant",
- "aria-required",
- "aria-roledescription"
- ],
- "requiredStates": [
- "aria-expanded"
- ],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {
- "aria-haspopup": "AriaHasPopup::Listbox"
- }
- },
- "Radio": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#radio",
- "description": "A checkable input in a group of elements with the same role, only one of which can be checked at a time.",
- "superClassRoles": [
- "Input"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-posinset",
- "aria-relevant",
- "aria-roledescription",
- "aria-setsize"
- ],
- "requiredStates": [
- "aria-checked"
- ],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {}
- },
- "TextBox": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#textbox",
- "description": "A type of input that allows free-form text as its value.",
- "superClassRoles": [
- "Input"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden",
- "aria-invalid"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-autocomplete",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-multiline",
- "aria-owns",
- "aria-placeholder",
- "aria-readonly",
- "aria-relevant",
- "aria-required",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "Switch": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#switch",
- "description": "A type of checkbox that represents on/off values, as opposed to checked/unchecked values. See related checkbox.",
- "superClassRoles": [
- "CheckBox"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-expanded",
- "aria-grabbed",
- "aria-hidden",
- "aria-invalid"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-required",
- "aria-roledescription"
- ],
- "requiredStates": [
- "aria-checked"
- ],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "AuthorContent",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {}
- },
- "SearchBox": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#searchbox",
- "description": "A type of textbox intended for specifying search criteria. See related textbox and search.",
- "superClassRoles": [
- "TextBox"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden",
- "aria-invalid"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-autocomplete",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-errormessage",
- "aria-flowto",
- "aria-haspopup",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-multiline",
- "aria-owns",
- "aria-placeholder",
- "aria-readonly",
- "aria-relevant",
- "aria-required",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "TabList": {
- "specLink": "https://www.w3.org/TR/wai-aria-1.2/#tablist",
- "description": "A list of tab elements, which are references to tabpanel elements.",
- "superClassRoles": [
- "Composite"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-disabled",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-multiselectable",
- "aria-orientation",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [
- "tab"
- ],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {
- "aria-orientation": "AriaOrientation::Horizontal"
- }
- },
- "GraphicsDocument": {
- "specLink": "https://w3c.github.io/graphics-aria/#graphics-document",
- "description": "A type of document in which the visual appearance or layout of content conveys meaning.",
- "superClassRoles": [
- "Document"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "GraphicsObject": {
- "specLink": "https://w3c.github.io/graphics-aria/#graphics-object",
- "description": "A section of a graphics-document that represents a distinct object or sub-component with semantic meaning.",
- "superClassRoles": [
- "Group"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-activedescendant",
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": false,
- "childrenArePresentational": false,
- "implicitValueForRole": {}
- },
- "GraphicsSymbol": {
- "specLink": "https://w3c.github.io/graphics-aria/#graphics-symbol",
- "description": "A graphical object used to convey a simple meaning or category, where the meaning is more important than the particular visual appearance.",
- "superClassRoles": [
- "Img"
- ],
- "supportedStates": [
- "aria-busy",
- "aria-current",
- "aria-grabbed",
- "aria-hidden"
- ],
- "supportedProperties": [
- "aria-atomic",
- "aria-braillelabel",
- "aria-brailleroledescription",
- "aria-controls",
- "aria-describedby",
- "aria-description",
- "aria-details",
- "aria-dropeffect",
- "aria-flowto",
- "aria-keyshortcuts",
- "aria-label",
- "aria-labelledby",
- "aria-live",
- "aria-owns",
- "aria-relevant",
- "aria-roledescription"
- ],
- "requiredStates": [],
- "requiredProperties": [],
- "prohibitedStates": [],
- "prohibitedProperties": [],
- "requiredContextRoles": [],
- "requiredOwnedElements": [],
- "nameFromSource": "Author",
- "accessibleNameRequired": true,
- "childrenArePresentational": true,
- "implicitValueForRole": {}
- }
-}
diff --git a/Libraries/LibWeb/ARIA/RoleType.cpp b/Libraries/LibWeb/ARIA/RoleType.cpp
deleted file mode 100644
index 7be05e3c0b0..00000000000
--- a/Libraries/LibWeb/ARIA/RoleType.cpp
+++ /dev/null
@@ -1,355 +0,0 @@
-/*
- * Copyright (c) 2023, Jonah Shafran <[email protected]>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
-
-#include <AK/NeverDestroyed.h>
-#include <LibWeb/ARIA/ARIAMixin.h>
-#include <LibWeb/ARIA/AriaRoles.h>
-#include <LibWeb/ARIA/RoleType.h>
-
-namespace Web::ARIA {
-
-static ErrorOr<void> add_state_or_property(JsonObjectSerializer<Utf16StringBuilder>& object, StateAndProperties state_or_property, Utf16String const& value)
-{
- return object.add(ARIA::state_or_property_to_string(state_or_property), value.utf16_view());
-}
-
-RoleType::RoleType(AriaData const& data)
- : m_data(data)
-{
-}
-
-// https://w3c.github.io/aria/#global_states
-constexpr StateAndProperties supported_state_array[] = {
- StateAndProperties::AriaBusy,
- StateAndProperties::AriaCurrent,
- StateAndProperties::AriaDisabled,
- StateAndProperties::AriaGrabbed,
- StateAndProperties::AriaHidden,
- StateAndProperties::AriaInvalid
-};
-// https://w3c.github.io/aria/#global_states
-constexpr StateAndProperties supported_properties_array[] = {
- StateAndProperties::AriaAtomic,
- StateAndProperties::AriaBrailleLabel,
- StateAndProperties::AriaBrailleRoleDescription,
- StateAndProperties::AriaControls,
- StateAndProperties::AriaDescribedBy,
- StateAndProperties::AriaDescription,
- StateAndProperties::AriaDetails,
- StateAndProperties::AriaDropEffect,
- StateAndProperties::AriaFlowTo,
- StateAndProperties::AriaHasPopup,
- StateAndProperties::AriaKeyShortcuts,
- StateAndProperties::AriaLabel,
- StateAndProperties::AriaLabelledBy,
- StateAndProperties::AriaLive,
- StateAndProperties::AriaOwns,
- StateAndProperties::AriaRelevant,
- StateAndProperties::AriaRoleDescription
-};
-
-HashTable<StateAndProperties> const& RoleType::supported_states() const
-{
- static NeverDestroyed<HashTable<StateAndProperties>> states;
- if (states->is_empty())
- states->set_from(supported_state_array);
- return *states;
-}
-
-HashTable<StateAndProperties> const& RoleType::supported_properties() const
-{
- static NeverDestroyed<HashTable<StateAndProperties>> properties;
- if (properties->is_empty())
- properties->set_from(supported_properties_array);
- return *properties;
-}
-
-HashTable<StateAndProperties> const& RoleType::required_states() const
-{
- static NeverDestroyed<HashTable<StateAndProperties>> states;
- return *states;
-}
-
-HashTable<StateAndProperties> const& RoleType::required_properties() const
-{
- static NeverDestroyed<HashTable<StateAndProperties>> properties;
- return *properties;
-}
-
-HashTable<StateAndProperties> const& RoleType::prohibited_properties() const
-{
- static NeverDestroyed<HashTable<StateAndProperties>> properties;
- return *properties;
-}
-
-HashTable<StateAndProperties> const& RoleType::prohibited_states() const
-{
- static NeverDestroyed<HashTable<StateAndProperties>> states;
- return *states;
-}
-
-HashTable<Role> const& RoleType::required_context_roles() const
-{
- static NeverDestroyed<HashTable<Role>> roles;
- return *roles;
-}
-
-HashTable<Role> const& RoleType::required_owned_elements() const
-{
- static NeverDestroyed<HashTable<Role>> roles;
- return *roles;
-}
-
-ErrorOr<void> RoleType::serialize_as_json(JsonObjectSerializer<Utf16StringBuilder>& object) const
-{
- auto state_object = TRY(object.add_object("state"sv));
- for (auto const state : supported_states()) {
- auto value = TRY(ARIA::state_or_property_to_string_value(state, m_data, default_value_for_property_or_state(state)));
- TRY(add_state_or_property(state_object, state, value));
- }
- TRY(state_object.finish());
-
- auto properties_object = TRY(object.add_object("properties"sv));
- for (auto const property : supported_properties()) {
- auto value = TRY(ARIA::state_or_property_to_string_value(property, m_data, default_value_for_property_or_state(property)));
- TRY(add_state_or_property(properties_object, property, value));
- }
- TRY(properties_object.finish());
-
- auto required_states_object = TRY(object.add_object("required_state"sv));
- for (auto const state : required_states()) {
- auto value = TRY(ARIA::state_or_property_to_string_value(state, m_data, default_value_for_property_or_state(state)));
- TRY(add_state_or_property(required_states_object, state, value));
- }
- TRY(required_states_object.finish());
-
- auto required_properties_object = TRY(object.add_object("required_properties"sv));
- for (auto const property : required_properties()) {
- auto value = TRY(ARIA::state_or_property_to_string_value(property, m_data, default_value_for_property_or_state(property)));
- TRY(add_state_or_property(required_properties_object, property, value));
- }
- TRY(required_properties_object.finish());
-
- auto prohibited_states_object = TRY(object.add_object("prohibited_state"sv));
- for (auto const state : prohibited_states()) {
- auto value = TRY(ARIA::state_or_property_to_string_value(state, m_data, default_value_for_property_or_state(state)));
- TRY(add_state_or_property(prohibited_states_object, state, value));
- }
- TRY(prohibited_states_object.finish());
-
- auto prohibited_properties_object = TRY(object.add_object("prohibited_properties"sv));
- for (auto const property : required_properties()) {
- auto value = TRY(ARIA::state_or_property_to_string_value(property, m_data, default_value_for_property_or_state(property)));
- TRY(add_state_or_property(prohibited_properties_object, property, value));
- }
- TRY(prohibited_properties_object.finish());
-
- return {};
-}
-
-ErrorOr<NonnullOwnPtr<RoleType>> RoleType::build_role_object(Role role, bool focusable, AriaData const& data)
-{
- if (is_abstract_role(role))
- return Error::from_string_literal("Cannot construct a role object for an abstract role.");
-
- switch (role) {
- case Role::alert:
- return adopt_nonnull_own_or_enomem(new (nothrow) Alert(data));
- case Role::alertdialog:
- return adopt_nonnull_own_or_enomem(static_cast<Alert*>((new (nothrow) AlertDialog(data))));
- case Role::application:
- return adopt_nonnull_own_or_enomem(new (nothrow) Application(data));
- case Role::article:
- return adopt_nonnull_own_or_enomem(new (nothrow) Article(data));
- case Role::banner:
- return adopt_nonnull_own_or_enomem(new (nothrow) Banner(data));
- case Role::blockquote:
- return adopt_nonnull_own_or_enomem(new (nothrow) BlockQuote(data));
- case Role::button:
- return adopt_nonnull_own_or_enomem(new (nothrow) Button(data));
- case Role::caption:
- return adopt_nonnull_own_or_enomem(new (nothrow) Caption(data));
- case Role::cell:
- return adopt_nonnull_own_or_enomem(new (nothrow) Cell(data));
- case Role::checkbox:
- return adopt_nonnull_own_or_enomem(new (nothrow) CheckBox(data));
- case Role::code:
- return adopt_nonnull_own_or_enomem(new (nothrow) Code(data));
- case Role::columnheader:
- return adopt_nonnull_own_or_enomem(static_cast<Cell*>(new (nothrow) ColumnHeader(data)));
- case Role::combobox:
- return adopt_nonnull_own_or_enomem(new (nothrow) ComboBox(data));
- case Role::complementary:
- return adopt_nonnull_own_or_enomem(new (nothrow) Complementary(data));
- case Role::composite:
- return adopt_nonnull_own_or_enomem(new (nothrow) Composite(data));
- case Role::contentinfo:
- return adopt_nonnull_own_or_enomem(new (nothrow) ContentInfo(data));
- case Role::definition:
- return adopt_nonnull_own_or_enomem(new (nothrow) Definition(data));
- case Role::deletion:
- return adopt_nonnull_own_or_enomem(new (nothrow) Deletion(data));
- case Role::dialog:
- return adopt_nonnull_own_or_enomem(new (nothrow) Dialog(data));
- case Role::directory:
- return adopt_nonnull_own_or_enomem(new (nothrow) Directory(data));
- case Role::document:
- return adopt_nonnull_own_or_enomem(new (nothrow) Document(data));
- case Role::emphasis:
- return adopt_nonnull_own_or_enomem(new (nothrow) Emphasis(data));
- case Role::feed:
- return adopt_nonnull_own_or_enomem(new (nothrow) Feed(data));
- case Role::figure:
- return adopt_nonnull_own_or_enomem(new (nothrow) Figure(data));
- case Role::form:
- return adopt_nonnull_own_or_enomem(new (nothrow) Form(data));
- case Role::generic:
- return adopt_nonnull_own_or_enomem(new (nothrow) Generic(data));
- case Role::graphicsdocument:
- return adopt_nonnull_own_or_enomem(new (nothrow) GraphicsDocument(data));
- case Role::graphicsobject:
- return adopt_nonnull_own_or_enomem(new (nothrow) GraphicsObject(data));
- case Role::graphicssymbol:
- return adopt_nonnull_own_or_enomem(new (nothrow) GraphicsSymbol(data));
- case Role::grid:
- return adopt_nonnull_own_or_enomem(static_cast<Composite*>(new (nothrow) Grid(data)));
- case Role::gridcell:
- return adopt_nonnull_own_or_enomem(static_cast<Cell*>(new (nothrow) GridCell(data)));
- case Role::group:
- return adopt_nonnull_own_or_enomem(new (nothrow) Group(data));
- case Role::heading:
- return adopt_nonnull_own_or_enomem(new (nothrow) Heading(data));
- case Role::image:
- return adopt_nonnull_own_or_enomem(new (nothrow) Img(data));
- case Role::img:
- return adopt_nonnull_own_or_enomem(new (nothrow) Img(data));
- case Role::input:
- return adopt_nonnull_own_or_enomem(new (nothrow) Input(data));
- case Role::insertion:
- return adopt_nonnull_own_or_enomem(new (nothrow) Insertion(data));
- case Role::landmark:
- return adopt_nonnull_own_or_enomem(new (nothrow) Landmark(data));
- case Role::link:
- return adopt_nonnull_own_or_enomem(new (nothrow) Link(data));
- case Role::list:
- return adopt_nonnull_own_or_enomem(new (nothrow) List(data));
- case Role::listbox:
- return adopt_nonnull_own_or_enomem(static_cast<Composite*>(new (nothrow) ListBox(data)));
- case Role::listitem:
- return adopt_nonnull_own_or_enomem(new (nothrow) ListItem(data));
- case Role::log:
- return adopt_nonnull_own_or_enomem(new (nothrow) Log(data));
- case Role::main:
- return adopt_nonnull_own_or_enomem(new (nothrow) Main(data));
- case Role::marquee:
- return adopt_nonnull_own_or_enomem(new (nothrow) Marquee(data));
- case Role::mark:
- return adopt_nonnull_own_or_enomem(new (nothrow) Mark(data));
- case Role::math:
- return adopt_nonnull_own_or_enomem(new (nothrow) Math(data));
- case Role::meter:
- return adopt_nonnull_own_or_enomem(new (nothrow) Meter(data));
- case Role::menu:
- return adopt_nonnull_own_or_enomem(static_cast<Composite*>(new (nothrow) Menu(data)));
- case Role::menubar:
- return adopt_nonnull_own_or_enomem(static_cast<Composite*>(new (nothrow) MenuBar(data)));
- case Role::menuitem:
- return adopt_nonnull_own_or_enomem(new (nothrow) MenuItem(data));
- case Role::menuitemcheckbox:
- return adopt_nonnull_own_or_enomem(new (nothrow) MenuItemCheckBox(data));
- case Role::menuitemradio:
- return adopt_nonnull_own_or_enomem(new (nothrow) MenuItemRadio(data));
- case Role::navigation:
- return adopt_nonnull_own_or_enomem(new (nothrow) Navigation(data));
- case Role::none:
- return adopt_nonnull_own_or_enomem(new (nothrow) Presentation(data));
- case Role::note:
- return adopt_nonnull_own_or_enomem(new (nothrow) Note(data));
- case Role::option:
- return adopt_nonnull_own_or_enomem(new (nothrow) Option(data));
- case Role::paragraph:
- return adopt_nonnull_own_or_enomem(new (nothrow) Paragraph(data));
- case Role::presentation:
- return adopt_nonnull_own_or_enomem(new (nothrow) Presentation(data));
- case Role::progressbar:
- return adopt_nonnull_own_or_enomem(new (nothrow) Progressbar(data));
- case Role::radio:
- return adopt_nonnull_own_or_enomem(new (nothrow) Radio(data));
- case Role::radiogroup:
- return adopt_nonnull_own_or_enomem(static_cast<Composite*>(new (nothrow) RadioGroup(data)));
- case Role::region:
- return adopt_nonnull_own_or_enomem(new (nothrow) Region(data));
- case Role::row:
- return adopt_nonnull_own_or_enomem(static_cast<Group*>(new (nothrow) Row(data)));
- case Role::rowgroup:
- return adopt_nonnull_own_or_enomem(new (nothrow) RowGroup(data));
- case Role::rowheader:
- return adopt_nonnull_own_or_enomem(static_cast<Cell*>(new (nothrow) RowHeader(data)));
- case Role::scrollbar:
- return adopt_nonnull_own_or_enomem(static_cast<Range*>(new (nothrow) Scrollbar(data)));
- case Role::search:
- return adopt_nonnull_own_or_enomem(new (nothrow) Search(data));
- case Role::searchbox:
- return adopt_nonnull_own_or_enomem(new (nothrow) SearchBox(data));
- case Role::sectionfooter:
- return adopt_nonnull_own_or_enomem(new (nothrow) SectionFooter(data));
- case Role::sectionheader:
- return adopt_nonnull_own_or_enomem(new (nothrow) SectionHeader(data));
- case Role::separator:
- if (focusable)
- return adopt_nonnull_own_or_enomem(new (nothrow) FocusableSeparator(data));
- else
- return adopt_nonnull_own_or_enomem(new (nothrow) NonFocusableSeparator(data));
- case Role::slider:
- return adopt_nonnull_own_or_enomem(static_cast<Input*>(new (nothrow) Slider(data)));
- case Role::spinbutton:
- return adopt_nonnull_own_or_enomem(static_cast<Composite*>(new (nothrow) SpinButton(data)));
- case Role::status:
- return adopt_nonnull_own_or_enomem(new (nothrow) Status(data));
- case Role::strong:
- return adopt_nonnull_own_or_enomem(new (nothrow) Strong(data));
- case Role::subscript:
- return adopt_nonnull_own_or_enomem(new (nothrow) Subscript(data));
- case Role::suggestion:
- return adopt_nonnull_own_or_enomem(new (nothrow) Suggestion(data));
- case Role::superscript:
- return adopt_nonnull_own_or_enomem(new (nothrow) Superscript(data));
- case Role::switch_:
- return adopt_nonnull_own_or_enomem(new (nothrow) Switch(data));
- case Role::tab:
- return adopt_nonnull_own_or_enomem(static_cast<SectionHead*>(new (nothrow) Tab(data)));
- case Role::table:
- return adopt_nonnull_own_or_enomem(new (nothrow) Table(data));
- case Role::tablist:
- return adopt_nonnull_own_or_enomem(new (nothrow) TabList(data));
- case Role::tabpanel:
- return adopt_nonnull_own_or_enomem(new (nothrow) TabPanel(data));
- case Role::term:
- return adopt_nonnull_own_or_enomem(new (nothrow) Term(data));
- case Role::textbox:
- return adopt_nonnull_own_or_enomem(new (nothrow) TextBox(data));
- case Role::time:
- return adopt_nonnull_own_or_enomem(new (nothrow) Time(data));
- case Role::timer:
- return adopt_nonnull_own_or_enomem(new (nothrow) Timer(data));
- case Role::toolbar:
- return adopt_nonnull_own_or_enomem(new (nothrow) Toolbar(data));
- case Role::tooltip:
- return adopt_nonnull_own_or_enomem(new (nothrow) Tooltip(data));
- case Role::tree:
- return adopt_nonnull_own_or_enomem(static_cast<Composite*>(new (nothrow) Tree(data)));
- case Role::treegrid:
- return adopt_nonnull_own_or_enomem(static_cast<Group*>(new (nothrow) TreeGrid(data)));
- case Role::treeitem:
- return adopt_nonnull_own_or_enomem(static_cast<ListItem*>(new (nothrow) TreeItem(data)));
- case Role::window:
- return adopt_nonnull_own_or_enomem(new (nothrow) Window(data));
- default:
- VERIFY_NOT_REACHED();
- }
-}
-
-}
diff --git a/Libraries/LibWeb/ARIA/RoleType.h b/Libraries/LibWeb/ARIA/RoleType.h
deleted file mode 100644
index 6e980e2ce38..00000000000
--- a/Libraries/LibWeb/ARIA/RoleType.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 2023, Jonah Shafran <[email protected]>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
-
-#pragma once
-
-#include <AK/JsonObjectSerializer.h>
-#include <AK/Utf16StringBuilder.h>
-#include <LibWeb/ARIA/AriaData.h>
-#include <LibWeb/ARIA/Roles.h>
-#include <LibWeb/ARIA/StateAndProperties.h>
-
-namespace Web::ARIA {
-
-enum class NameFromSource {
- Author,
- Content,
- AuthorContent,
- Prohibited
-};
-
-// https://www.w3.org/TR/wai-aria-1.2/#roletype
-// The base role from which all other roles inherit.
-class RoleType {
-public:
- AK_ALLOC_WITH_KMALLOC;
-
- static ErrorOr<NonnullOwnPtr<RoleType>> build_role_object(Role, bool, AriaData const&);
-
- virtual ~RoleType() = default;
- // https://www.w3.org/TR/wai-aria-1.2/#supportedState
- virtual HashTable<StateAndProperties> const& supported_states() const;
- virtual HashTable<StateAndProperties> const& supported_properties() const;
- // https://www.w3.org/TR/wai-aria-1.2/#requiredState
- virtual HashTable<StateAndProperties> const& required_states() const;
- virtual HashTable<StateAndProperties> const& required_properties() const;
- // https://www.w3.org/TR/wai-aria-1.2/#prohibitedattributes
- virtual HashTable<StateAndProperties> const& prohibited_properties() const;
- virtual HashTable<StateAndProperties> const& prohibited_states() const;
- // https://www.w3.org/TR/wai-aria-1.2/#scope
- virtual HashTable<Role> const& required_context_roles() const;
- // https://www.w3.org/TR/wai-aria-1.2/#mustContain
- virtual HashTable<Role> const& required_owned_elements() const;
- // https://www.w3.org/TR/wai-aria-1.2/#namecalculation
- virtual NameFromSource name_from_source() const = 0;
- virtual bool accessible_name_required() const { return false; }
- // https://www.w3.org/TR/wai-aria-1.2/#childrenArePresentational
- virtual bool children_are_presentational() const { return false; }
- // https://www.w3.org/TR/wai-aria-1.2/#implictValueForRole
- using DefaultValueType = Variant<Empty, f64, AriaOrientation, AriaLive, bool, AriaHasPopup>;
- virtual DefaultValueType default_value_for_property_or_state(StateAndProperties) const { return {}; }
- ErrorOr<void> serialize_as_json(JsonObjectSerializer<Utf16StringBuilder>& object) const;
-
-protected:
- RoleType(AriaData const&);
- RoleType() { }
-
-private:
- AriaData m_data;
-};
-
-}
diff --git a/Libraries/LibWeb/ARIA/StateAndProperties.cpp b/Libraries/LibWeb/ARIA/StateAndProperties.cpp
index a977147846a..660f7c318a9 100644
--- a/Libraries/LibWeb/ARIA/StateAndProperties.cpp
+++ b/Libraries/LibWeb/ARIA/StateAndProperties.cpp
@@ -10,12 +10,6 @@
namespace Web::ARIA {
-template<size_t length>
-static constexpr Utf16View utf16_view(char16_t const (&string)[length])
-{
- return { string, length - 1 };
-}
-
static Utf16String serialize_aria_string(Utf16String const& value)
{
return value;
@@ -365,117 +359,4 @@ ErrorOr<Utf16String> id_reference_list_to_string(Vector<Utf16String> const& valu
return builder.to_string();
}
-Utf16View state_or_property_to_string(StateAndProperties value)
-{
- switch (value) {
- case StateAndProperties::AriaActiveDescendant:
- return utf16_view(u"aria-activedescendant");
- case StateAndProperties::AriaAtomic:
- return utf16_view(u"aria-atomic");
- case StateAndProperties::AriaAutoComplete:
- return utf16_view(u"aria-autocomplete");
- case StateAndProperties::AriaBrailleLabel:
- return utf16_view(u"aria-braillelabel");
- case StateAndProperties::AriaBrailleRoleDescription:
- return utf16_view(u"aria-brailleroledescription");
- case StateAndProperties::AriaBusy:
- return utf16_view(u"aria-busy");
- case StateAndProperties::AriaChecked:
- return utf16_view(u"aria-checked");
- case StateAndProperties::AriaColCount:
- return utf16_view(u"aria-colcount");
- case StateAndProperties::AriaColIndex:
- return utf16_view(u"aria-colindex");
- case StateAndProperties::AriaColIndexText:
- return utf16_view(u"aria-colindextext");
- case StateAndProperties::AriaColSpan:
- return utf16_view(u"aria-colspan");
- case StateAndProperties::AriaControls:
- return utf16_view(u"aria-controls");
- case StateAndProperties::AriaCurrent:
- return utf16_view(u"aria-current");
- case StateAndProperties::AriaDescribedBy:
- return utf16_view(u"aria-describedby");
- case StateAndProperties::AriaDescription:
- return utf16_view(u"aria-description");
- case StateAndProperties::AriaDetails:
- return utf16_view(u"aria-details");
- case StateAndProperties::AriaDisabled:
- return utf16_view(u"aria-disabled");
- case StateAndProperties::AriaDropEffect:
- return utf16_view(u"aria-dropeffect");
- case StateAndProperties::AriaErrorMessage:
- return utf16_view(u"aria-errormessage");
- case StateAndProperties::AriaExpanded:
- return utf16_view(u"aria-expanded");
- case StateAndProperties::AriaFlowTo:
- return utf16_view(u"aria-flowto");
- case StateAndProperties::AriaGrabbed:
- return utf16_view(u"aria-grabbed");
- case StateAndProperties::AriaHasPopup:
- return utf16_view(u"aria-haspopup");
- case StateAndProperties::AriaHidden:
- return utf16_view(u"aria-hidden");
- case StateAndProperties::AriaInvalid:
- return utf16_view(u"aria-invalid");
- case StateAndProperties::AriaKeyShortcuts:
- return utf16_view(u"aria-keyshortcuts");
- case StateAndProperties::AriaLabel:
- return utf16_view(u"aria-label");
- case StateAndProperties::AriaLabelledBy:
- return utf16_view(u"aria-labelledby");
- case StateAndProperties::AriaLevel:
- return utf16_view(u"aria-level");
- case StateAndProperties::AriaLive:
- return utf16_view(u"aria-live");
- case StateAndProperties::AriaModal:
- return utf16_view(u"aria-modal");
- case StateAndProperties::AriaMultiLine:
- return utf16_view(u"aria-multiline");
- case StateAndProperties::AriaMultiSelectable:
- return utf16_view(u"aria-multiselectable");
- case StateAndProperties::AriaOrientation:
- return utf16_view(u"aria-orientation");
- case StateAndProperties::AriaOwns:
- return utf16_view(u"aria-owns");
- case StateAndProperties::AriaPlaceholder:
- return utf16_view(u"aria-placeholder");
- case StateAndProperties::AriaPosInSet:
- return utf16_view(u"aria-posinset");
- case StateAndProperties::AriaPressed:
- return utf16_view(u"aria-pressed");
- case StateAndProperties::AriaReadOnly:
- return utf16_view(u"aria-readonly");
- case StateAndProperties::AriaRelevant:
- return utf16_view(u"aria-relevant");
- case StateAndProperties::AriaRequired:
- return utf16_view(u"aria-required");
- case StateAndProperties::AriaRoleDescription:
- return utf16_view(u"aria-roledescription");
- case StateAndProperties::AriaRowCount:
- return utf16_view(u"aria-rowcount");
- case StateAndProperties::AriaRowIndex:
- return utf16_view(u"aria-rowindex");
- case StateAndProperties::AriaRowIndexText:
- return utf16_view(u"aria-rowindextext");
- case StateAndProperties::AriaRowSpan:
- return utf16_view(u"aria-rowspan");
- case StateAndProperties::AriaSelected:
- return utf16_view(u"aria-selected");
- case StateAndProperties::AriaSetSize:
- return utf16_view(u"aria-setsize");
- case StateAndProperties::AriaSort:
- return utf16_view(u"aria-sort");
- case StateAndProperties::AriaValueMax:
- return utf16_view(u"aria-valuemax");
- case StateAndProperties::AriaValueMin:
- return utf16_view(u"aria-valuemin");
- case StateAndProperties::AriaValueNow:
- return utf16_view(u"aria-valuenow");
- case StateAndProperties::AriaValueText:
- return utf16_view(u"aria-valuetext");
- }
- VERIFY_NOT_REACHED();
-}
-
}
diff --git a/Libraries/LibWeb/ARIA/StateAndProperties.h b/Libraries/LibWeb/ARIA/StateAndProperties.h
index cd6e0ee9361..831ce5d4433 100644
--- a/Libraries/LibWeb/ARIA/StateAndProperties.h
+++ b/Libraries/LibWeb/ARIA/StateAndProperties.h
@@ -9,7 +9,6 @@
#include <AK/Utf16String.h>
#include <AK/Utf16View.h>
#include <LibWeb/ARIA/ARIAMixin.h>
-#include <LibWeb/ARIA/RoleType.h>
namespace Web::ARIA {
@@ -76,6 +75,5 @@ ErrorOr<Utf16String> optional_integer_to_string(Optional<i32>);
ErrorOr<Utf16String> optional_bool_to_string(Optional<bool>);
ErrorOr<Utf16String> optional_number_to_string(Optional<f64>);
ErrorOr<Utf16String> id_reference_list_to_string(Vector<Utf16String> const&);
-Utf16View state_or_property_to_string(StateAndProperties);
}
diff --git a/Libraries/LibWeb/CMakeLists.txt b/Libraries/LibWeb/CMakeLists.txt
index 68024958b8d..ca01a2e8ed7 100644
--- a/Libraries/LibWeb/CMakeLists.txt
+++ b/Libraries/LibWeb/CMakeLists.txt
@@ -18,7 +18,6 @@ set(SOURCES
ARIA/ARIAMixin.cpp
ARIA/AttributeNames.cpp
ARIA/Roles.cpp
- ARIA/RoleType.cpp
ARIA/StateAndProperties.cpp
Bindings/AudioConstructor.cpp
Bindings/HostDefined.cpp
@@ -1100,15 +1099,6 @@ set(SOURCES
)
-invoke_py_generator(
- "AriaRoles.cpp"
- generate_libweb_aria_roles.py
- "${CMAKE_CURRENT_SOURCE_DIR}/ARIA/AriaRoles.json"
- "ARIA/AriaRoles.h"
- "ARIA/AriaRoles.cpp"
- arguments -j "${CMAKE_CURRENT_SOURCE_DIR}/ARIA/AriaRoles.json"
-)
-
generate_css_implementation()
generate_html_implementation()
@@ -1116,7 +1106,6 @@ generate_html_implementation()
generate_picture_in_picture_implementation()
set(GENERATED_SOURCES
- ARIA/AriaRoles.cpp
CSS/DefaultStyleSheetSource.cpp
CSS/DescriptorID.cpp
CSS/Enums.cpp
diff --git a/Meta/Generators/generate_libweb_aria_roles.py b/Meta/Generators/generate_libweb_aria_roles.py
deleted file mode 100644
index 74be72b47e2..00000000000
--- a/Meta/Generators/generate_libweb_aria_roles.py
+++ /dev/null
@@ -1,290 +0,0 @@
-#!/usr/bin/env python3
-
-# Copyright (c) 2023, Jonah Shafran <[email protected]>
-# Copyright (c) 2026-present, the Ladybird developers.
-#
-# SPDX-License-Identifier: BSD-2-Clause
-
-import argparse
-import json
-import sys
-
-from pathlib import Path
-from typing import TextIO
-
-sys.path.append(str(Path(__file__).resolve().parent.parent))
-
-
-ARIA_NAME_TO_ENUM = {
- "aria-activedescendant": "AriaActiveDescendant",
- "aria-atomic": "AriaAtomic",
- "aria-autocomplete": "AriaAutoComplete",
- "aria-braillelabel": "AriaBrailleLabel",
- "aria-brailleroledescription": "AriaBrailleRoleDescription",
- "aria-busy": "AriaBusy",
- "aria-checked": "AriaChecked",
- "aria-colcount": "AriaColCount",
- "aria-colindex": "AriaColIndex",
- "aria-colindextext": "AriaColIndexText",
- "aria-colspan": "AriaColSpan",
- "aria-controls": "AriaControls",
- "aria-current": "AriaCurrent",
- "aria-describedby": "AriaDescribedBy",
- "aria-description": "AriaDescription",
- "aria-details": "AriaDetails",
- "aria-disabled": "AriaDisabled",
- "aria-dropeffect": "AriaDropEffect",
- "aria-errormessage": "AriaErrorMessage",
- "aria-expanded": "AriaExpanded",
- "aria-flowto": "AriaFlowTo",
- "aria-grabbed": "AriaGrabbed",
- "aria-haspopup": "AriaHasPopup",
- "aria-hidden": "AriaHidden",
- "aria-invalid": "AriaInvalid",
- "aria-keyshortcuts": "AriaKeyShortcuts",
- "aria-label": "AriaLabel",
- "aria-labelledby": "AriaLabelledBy",
- "aria-level": "AriaLevel",
- "aria-live": "AriaLive",
- "aria-modal": "AriaModal",
- "aria-multiline": "AriaMultiLine",
- "aria-multiselectable": "AriaMultiSelectable",
- "aria-orientation": "AriaOrientation",
- "aria-owns": "AriaOwns",
- "aria-placeholder": "AriaPlaceholder",
- "aria-posinset": "AriaPosInSet",
- "aria-pressed": "AriaPressed",
- "aria-readonly": "AriaReadOnly",
- "aria-relevant": "AriaRelevant",
- "aria-required": "AriaRequired",
- "aria-roledescription": "AriaRoleDescription",
- "aria-rowcount": "AriaRowCount",
- "aria-rowindex": "AriaRowIndex",
- "aria-rowindextext": "AriaRowIndexText",
- "aria-rowspan": "AriaRowSpan",
- "aria-selected": "AriaSelected",
- "aria-setsize": "AriaSetSize",
- "aria-sort": "AriaSort",
- "aria-valuemax": "AriaValueMax",
- "aria-valuemin": "AriaValueMin",
- "aria-valuenow": "AriaValueNow",
- "aria-valuetext": "AriaValueText",
-}
-
-
-def aria_name_to_enum_name(name: str) -> str:
- return ARIA_NAME_TO_ENUM[name]
-
-
-def translate_aria_names_to_enum(names: list) -> list:
- return [aria_name_to_enum_name(name) for name in names]
-
-
-def write_header_file(out: TextIO, roles_data: dict) -> None:
- out.write("""
-#pragma once
-
-#include <LibWeb/ARIA/RoleType.h>
-
-namespace Web::ARIA {
-""")
-
- for name, value in roles_data.items():
- spec_link = value["specLink"]
- description = value["description"]
- out.write(f"""
-// {spec_link}
-// {description}
-class {name} :
-""")
- first = True
- for super_class in value["superClassRoles"]:
- out.write(" " if first else ", ")
- out.write(f"public {super_class}")
- first = False
-
- out.write(f"""
-{{
-public:
- {name}(AriaData const&);
-
- virtual HashTable<StateAndProperties> const& supported_states() const override;
- virtual HashTable<StateAndProperties> const& supported_properties() const override;
-
- virtual HashTable<StateAndProperties> const& required_states() const override;
- virtual HashTable<StateAndProperties> const& required_properties() const override;
-
- virtual HashTable<StateAndProperties> const& prohibited_properties() const override;
- virtual HashTable<StateAndProperties> const& prohibited_states() const override;
-
- virtual HashTable<Role> const& required_context_roles() const override;
- virtual HashTable<Role> const& required_owned_elements() const override;
- virtual bool accessible_name_required() const override;
- virtual bool children_are_presentational() const override;
- virtual DefaultValueType default_value_for_property_or_state(StateAndProperties) const override;
-protected:
- {name}();
-""")
-
- if value.get("nameFromSource") is not None:
- out.write("""
-public:
- virtual NameFromSource name_from_source() const override;
-""")
- out.write("};\n")
-
- out.write("}\n")
-
-
-def generate_hash_table_member(
- out: TextIO,
- name: str,
- member_name: str,
- hash_table_name: str,
- enum_class: str,
- values: list,
-) -> None:
- if len(values) == 0:
- out.write(f"""
-HashTable<{enum_class}> const& {name}::{member_name}() const
-{{
- static NeverDestroyed<HashTable<{enum_class}>> {hash_table_name};
- return *{hash_table_name};
-}}
-""")
- return
-
- out.write(f"""
-HashTable<{enum_class}> const& {name}::{member_name}() const
-{{
- static NeverDestroyed<HashTable<{enum_class}>> {hash_table_name};
- if ({hash_table_name}->is_empty()) {{
- {hash_table_name}->ensure_capacity({len(values)});
-""")
- for v in values:
- out.write(f" {hash_table_name}->set({enum_class}::{v});\n")
- out.write(f"""
- }}
- return *{hash_table_name};
-}}
-""")
-
-
-def write_implementation_file(out: TextIO, roles_data: dict) -> None:
- out.write("""
-#include <AK/NeverDestroyed.h>
-#include <LibWeb/ARIA/AriaRoles.h>
-
-namespace Web::ARIA {
-""")
-
- for name, value in roles_data.items():
- supported_states = translate_aria_names_to_enum(value["supportedStates"])
- generate_hash_table_member(out, name, "supported_states", "states", "StateAndProperties", supported_states)
- supported_properties = translate_aria_names_to_enum(value["supportedProperties"])
- generate_hash_table_member(
- out, name, "supported_properties", "properties", "StateAndProperties", supported_properties
- )
-
- required_states = translate_aria_names_to_enum(value["requiredStates"])
- generate_hash_table_member(out, name, "required_states", "states", "StateAndProperties", required_states)
- required_properties = translate_aria_names_to_enum(value["requiredProperties"])
- generate_hash_table_member(
- out, name, "required_properties", "properties", "StateAndProperties", required_properties
- )
-
- prohibited_states = translate_aria_names_to_enum(value["prohibitedStates"])
- generate_hash_table_member(out, name, "prohibited_states", "states", "StateAndProperties", prohibited_states)
- prohibited_properties = translate_aria_names_to_enum(value["prohibitedProperties"])
- generate_hash_table_member(
- out, name, "prohibited_properties", "properties", "StateAndProperties", prohibited_properties
- )
-
- required_context_roles = value["requiredContextRoles"]
- generate_hash_table_member(out, name, "required_context_roles", "roles", "Role", required_context_roles)
- required_owned_elements = value["requiredOwnedElements"]
- generate_hash_table_member(out, name, "required_owned_elements", "roles", "Role", required_owned_elements)
-
- accessible_name_required = "true" if value["accessibleNameRequired"] else "false"
- children_are_presentational = "true" if value["childrenArePresentational"] else "false"
- parent = value["superClassRoles"][0]
-
- out.write(f"""
-{name}::{name}() {{ }}
-
-{name}::{name}(AriaData const& data)
- : {parent}(data)
-{{
-}}
-
-bool {name}::accessible_name_required() const
-{{
- return {accessible_name_required};
-}}
-
-bool {name}::children_are_presentational() const
-{{
- return {children_are_presentational};
-}}
-""")
-
- implicit_value_for_role = value["implicitValueForRole"]
- if len(implicit_value_for_role) == 0:
- out.write(f"""
-DefaultValueType {name}::default_value_for_property_or_state(StateAndProperties) const
-{{
- return {{}};
-}}
-""")
- else:
- out.write(f"""
-DefaultValueType {name}::default_value_for_property_or_state(StateAndProperties state_or_property) const
-{{
- switch (state_or_property) {{
-""")
- for state_name, implicit_value in implicit_value_for_role.items():
- out.write(f"""
- case StateAndProperties::{aria_name_to_enum_name(state_name)}:
- return {implicit_value};
-""")
- out.write("""
- default:
- return {};
- }
-}
-""")
-
- name_from_source = value.get("nameFromSource")
- if name_from_source is not None:
- out.write(f"""
-NameFromSource {name}::name_from_source() const
-{{
- return NameFromSource::{name_from_source};
-}}
-""")
-
- out.write("}")
-
-
-def main():
- parser = argparse.ArgumentParser(description="Generate ARIA Roles", add_help=False)
- parser.add_argument("--help", action="help", help="Show this help message and exit")
- parser.add_argument("-h", "--header", required=True, help="Path to the AriaRoles header file to generate")
- parser.add_argument(
- "-c", "--implementation", required=True, help="Path to the AriaRoles implementation file to generate"
- )
- parser.add_argument("-j", "--json", required=True, help="Path to the JSON file to read from")
- args = parser.parse_args()
-
- with open(args.json, "r", encoding="utf-8") as input_file:
- roles_data = json.load(input_file)
-
- with open(args.header, "w", encoding="utf-8") as output_file:
- write_header_file(output_file, roles_data)
-
- with open(args.implementation, "w", encoding="utf-8") as output_file:
- write_implementation_file(output_file, roles_data)
-
-
-if __name__ == "__main__":
- main()
diff --git a/Services/WebContent/ConnectionFromClient.cpp b/Services/WebContent/ConnectionFromClient.cpp
index 0f96a7d5354..0012c898388 100644
--- a/Services/WebContent/ConnectionFromClient.cpp
+++ b/Services/WebContent/ConnectionFromClient.cpp
@@ -32,7 +32,6 @@
#include <LibJS/Runtime/ConsoleObject.h>
#include <LibJS/Runtime/Date.h>
#include <LibUnicode/TimeZone.h>
-#include <LibWeb/ARIA/RoleType.h>
#include <LibWeb/Bindings/MainThreadVM.h>
#include <LibWeb/CSS/CustomPropertyData.h>
#include <LibWeb/CSS/Parser/ErrorReporter.h>