mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
a11y: Ignore more structural roles when computing labels
These roles should not have a fallback name when explicitly unlabelled.
This commit is contained in:
parent
429c7fc039
commit
e940704018
@ -925,7 +925,11 @@ is_structural_role (GtkAccessibleRole role)
|
||||
case GTK_ACCESSIBLE_ROLE_FORM:
|
||||
case GTK_ACCESSIBLE_ROLE_GROUP:
|
||||
case GTK_ACCESSIBLE_ROLE_GENERIC:
|
||||
case GTK_ACCESSIBLE_ROLE_LANDMARK:
|
||||
case GTK_ACCESSIBLE_ROLE_LIST_ITEM:
|
||||
case GTK_ACCESSIBLE_ROLE_REGION:
|
||||
case GTK_ACCESSIBLE_ROLE_SEARCH:
|
||||
case GTK_ACCESSIBLE_ROLE_SEPARATOR:
|
||||
return TRUE;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user