Commit e9407040 authored by Emmanuele Bassi's avatar Emmanuele Bassi
Browse files

a11y: Ignore more structural roles when computing labels

These roles should not have a fallback name when explicitly unlabelled.
parent 429c7fc0
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment