a11y: Treat none and presentation the same
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Jun 2023 02:14:19 +0000 (22:14 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Jun 2023 15:15:48 +0000 (11:15 -0400)
ARIA says these roles are aliases, so treat them
the same.

gtk/a11y/gtkatspiutils.c

index 985594ad951716c0d306ec68962653d4c7287d9c..8b95bf179bc410ac9d0c19db1ff3d0f87556fefe 100644 (file)
@@ -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;