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:
committed by
Matthias Clasen
parent
a058a382d4
commit
33fc6cc479
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user