a11y: Update the name-prohibited list

ARIA has the time role in this as well.

It does not matter in practice since we don't
have a widget with this role, but lets match
the specs.
This commit is contained in:
Matthias Clasen 2023-06-18 15:28:22 -04:00
parent a8b907a33c
commit 1906bb5263

View File

@ -1177,11 +1177,13 @@ gtk_at_context_get_description_accumulate (GtkATContext *self,
}
}
/* See ARIA 5.2.8.6 */
static GtkAccessibleRole name_forbidden[] = {
GTK_ACCESSIBLE_ROLE_CAPTION,
GTK_ACCESSIBLE_ROLE_GENERIC,
GTK_ACCESSIBLE_ROLE_PRESENTATION,
GTK_ACCESSIBLE_ROLE_NONE,
GTK_ACCESSIBLE_ROLE_PRESENTATION,
GTK_ACCESSIBLE_ROLE_TIME,
};
static gboolean