mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb/ARIA: Add missing structure roles
This commit is contained in:
parent
d14fd8a6c8
commit
e7ef8da7f3
Notes:
github-actions[bot]
2024-12-11 18:33:38 +00:00
Author: https://github.com/Simek
Commit: e7ef8da7f3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2843
Reviewed-by: https://github.com/sideshowbarker
Reviewed-by: https://github.com/trflynn89 ✅
3 changed files with 202 additions and 0 deletions
|
@ -103,6 +103,7 @@ bool is_document_structure_role(Role role)
|
|||
Role::blockquote,
|
||||
Role::caption,
|
||||
Role::cell,
|
||||
Role::code,
|
||||
Role::columnheader,
|
||||
Role::definition,
|
||||
Role::deletion,
|
||||
|
@ -130,6 +131,7 @@ bool is_document_structure_role(Role role)
|
|||
Role::separator, // TODO: Only when not focusable
|
||||
Role::strong,
|
||||
Role::subscript,
|
||||
Role::superscript,
|
||||
Role::table,
|
||||
Role::term,
|
||||
Role::time,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue