mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Support the “image” synonym for the “img” ARIA role
Additionally: For “img” elements with empty “alt” attributes, change the default role to the newer, preferred “none” synonym for the older “presentation” role; import https://wpt.fyi/results/html-aam/roles.html (which provides test/regression coverage for these changes).
This commit is contained in:
parent
6e24f23aa0
commit
ccbc436e85
Notes:
github-actions[bot]
2024-12-12 13:14:53 +00:00
Author: https://github.com/sideshowbarker
Commit: ccbc436e85
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2836
Reviewed-by: https://github.com/trflynn89
5 changed files with 282 additions and 2 deletions
|
@ -43,6 +43,7 @@ namespace Web::ARIA {
|
|||
__ENUMERATE_ARIA_ROLE(gridcell) \
|
||||
__ENUMERATE_ARIA_ROLE(group) \
|
||||
__ENUMERATE_ARIA_ROLE(heading) \
|
||||
__ENUMERATE_ARIA_ROLE(image) \
|
||||
__ENUMERATE_ARIA_ROLE(img) \
|
||||
__ENUMERATE_ARIA_ROLE(input) \
|
||||
__ENUMERATE_ARIA_ROLE(insertion) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue