a11y: Map GTK_ACCESSIBLE_ROLE_ALERT_DIALOG to ATSPI_ROLE_ALERT

By doing this, alert dialogs will be read automatically, or at least
they should be, because a screen reader know that these are special.
This commit is contained in:
Lukáš Tyrychtr
2023-04-06 13:55:16 +02:00
committed by Matthias Clasen
parent a058a382d4
commit 33fc6cc479

View File

@@ -43,7 +43,7 @@ gtk_accessible_role_to_atspi_role (GtkAccessibleRole role)
return ATSPI_ROLE_ALERT;
case GTK_ACCESSIBLE_ROLE_ALERT_DIALOG:
return ATSPI_ROLE_DIALOG;
return ATSPI_ROLE_ALERT;
case GTK_ACCESSIBLE_ROLE_BANNER:
break;