mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Add support for ARIA Graphics roles
This change adds support for the graphics-document, graphics-object, and graphics-symbol ARIA roles from the WAI-ARIA Graphics Module spec at https://w3c.github.io/graphics-aria/#role_definitions
This commit is contained in:
parent
fc956080e2
commit
8961d5d2ce
Notes:
github-actions[bot]
2024-12-28 01:17:20 +00:00
Author: https://github.com/sideshowbarker
Commit: 8961d5d2ce
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3043
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/trflynn89
6 changed files with 287 additions and 110 deletions
|
|
@ -4606,5 +4606,141 @@
|
|||
"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-disabled",
|
||||
"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-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": {}
|
||||
},
|
||||
"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-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-haspopup",
|
||||
"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-disabled",
|
||||
"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-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": true,
|
||||
"implicitValueForRole": {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue