LibWeb/ARIA: Add missing structure roles

This commit is contained in:
Simek 2024-12-11 17:46:13 +01:00 committed by Tim Flynn
commit e7ef8da7f3
Notes: github-actions[bot] 2024-12-11 18:33:38 +00:00
3 changed files with 202 additions and 0 deletions

View file

@ -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,