From: Matthias Clasen Date: Mon, 19 Jun 2023 02:14:19 +0000 (-0400) Subject: a11y: Treat none and presentation the same X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~126^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4412f25c9f2e4ed5c976f003f1f7227bc67205cd;p=gtk4.git a11y: Treat none and presentation the same ARIA says these roles are aliases, so treat them the same. --- diff --git a/gtk/a11y/gtkatspiutils.c b/gtk/a11y/gtkatspiutils.c index 985594ad95..8b95bf179b 100644 --- a/gtk/a11y/gtkatspiutils.c +++ b/gtk/a11y/gtkatspiutils.c @@ -169,7 +169,7 @@ gtk_accessible_role_to_atspi_role (GtkAccessibleRole role) return ATSPI_ROLE_OPTION_PANE; case GTK_ACCESSIBLE_ROLE_PRESENTATION: - return ATSPI_ROLE_FILLER; + return ATSPI_ROLE_INVALID; case GTK_ACCESSIBLE_ROLE_PROGRESS_BAR: return ATSPI_ROLE_PROGRESS_BAR;