Don't use ARIA terminology

This commit is contained in:
Lukáš Tyrychtr 2024-01-24 13:46:58 +01:00 committed by Matthias Clasen
parent bff31f58a8
commit f6c84a435e
2 changed files with 13 additions and 12 deletions

View File

@ -1541,7 +1541,7 @@ gtk_at_spi_context_announce (GtkATContext *context,
if (self->connection == NULL)
return;
guint atk_live = priority == GTK_ACCESSIBLE_ANNOUNCEMENT_PRIORITY_ASSERTIVE ? 2 : 1;
guint atk_live = priority == GTK_ACCESSIBLE_ANNOUNCEMENT_PRIORITY_HIGH ? 2 : 1;
g_dbus_connection_emit_signal (self->connection,
NULL,

View File

@ -1802,19 +1802,20 @@ typedef enum { /*< prefix=GTK_ACCESSIBLE_SORT >*/
} GtkAccessibleSort;
/**
* GtkAccessibleAnnouncementPriority:
* @GTK_ACCESSIBLE_ANNOUNCEMENT_PRIORITY_POLITE: The announcement is not
* important enough to interrupt the user.
* @GTK_ACCESSIBLE_ANNOUNCEMENT_PRIORITY_ASSERTIVE: The announcement is
* important enough to interrupt the user.
*
* The possible values for an accessible announcement priority.
* GTK_ANNOUNCEMENT_PRIORITY:
*
* @GTK_ANNOUNCEMENT_PRIORITY_LOW: The announcement is low priority, and might be read only on the user's request.
* @GTK_ANNOUNCEMENT_PRIORITY_MEDIUM: The announcement is of medium priority, and is usually spoken only after announcements.
* @GTK_ANNOUNCEMENT_PRIORITY_HIGH: The announcement is of high priority, and is usually spoken immediately.
*
* The priority of an accessibility announcement.
*/
typedef enum {
GTK_ACCESSIBLE_ANNOUNCEMENT_PRIORITY_POLITE,
GTK_ACCESSIBLE_ANNOUNCEMENT_PRIORITY_ASSERTIVE
} GtkAccessibleAnnouncementPriority;
GTK_ACCESSIBLE_ANNOUNCEMENT_PRIORITY_LOW,
GTK_ACCESSIBLE_ANNOUNCEMENT_PRIORITY_MEDIUM,
GTK_ACCESSIBLE_ANNOUNCEMENT_PRIORITY_HIGH
} GtkAccessibleAnnouncementPriority;
/**
* GtkPopoverMenuFlags:
* @GTK_POPOVER_MENU_SLIDING: Submenus are presented as sliding submenus that