a11y: ARIA's "presentation" role maps to ATSPI_ROLE_SECTION

See the mapping role table in the Core-AAM normative document:

https://w3c.github.io/core-aam/#mapping_role_table
This commit is contained in:
Emmanuele Bassi 2020-11-05 13:14:08 +00:00
parent 3eaae748d3
commit 7dfa41bbc4

View File

@ -167,7 +167,7 @@ gtk_accessible_role_to_atspi_role (GtkAccessibleRole role)
return ATSPI_ROLE_OPTION_PANE;
case GTK_ACCESSIBLE_ROLE_PRESENTATION:
return ATSPI_ROLE_DOCUMENT_PRESENTATION;
return ATSPI_ROLE_SECTION;
case GTK_ACCESSIBLE_ROLE_PROGRESS_BAR:
return ATSPI_ROLE_PROGRESS_BAR;