Accessibility pass with a screen reader #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Nothing in this project has been checked with a screen reader, and the test
harness actively disables accessibility:
build-aux/smoke.shexportsGTK_A11Y=none, because a private D-Bus session has no accessibility bus and GTKwarns about it, which
G_DEBUG=fatal-warningsturns into an abort.So the current state is unknown rather than known-bad. What exists:
adw::Sidebarwithadw::SidebarItems carrying a title,subtitle, icon name and a suffix widget (
rebuild_sidebarincrates/terminalko/src/window.rs);GtkBoxandGtkImagebuilt incrates/terminalko/src/accent.rs, and the bell has a tooltip but nothing else;AdwPreferencesDialogandAdwAlertDialog, which are labelled bytheir own rows and headings;
What to do
the sidebar rows, the state dot, the bell marker, the tab overview, the session
editor and the preferences dialog.
accessible label, and arguably the row's subtitle should say it too;
colour-only signal by design; the folder name carries the same information,
so this may be acceptable — record the reasoning either way;
accessible-roleor label set anywhere;gtk::Accessibleproperties (update_property,update_relation) are howto set them.
GTK_A11Y=none. Turning it onrequires an accessibility bus in the test session; if that is impractical, say
so in the script's comment rather than leaving it looking incidental.
Acceptance criteria
docs/spec/accessibility.md: what was tested, with what, whatit said, and what changed.
except where the reasoning for an exception is written down.
every action already has an accelerator or a menu item, so this is a check
rather than a redesign.
./build-aux/ci.shand./build-aux/smoke.shstill pass.Notes
early, while there are four dialogs rather than twenty.