Clickable "step" indicators for multistage about:welcome: a11y implementation
Categories
(Firefox :: Messaging System, enhancement, P1)
Tracking
()
People
(Reporter: emcminn, Assigned: emcminn)
References
(Blocks 1 open bug)
Details
(Keywords: access)
User Story
+++ This bug was initially created as a clone of Bug #1661784 +++
As well as indicating what page of the onboarding process we're on, we should be able to navigate back and forth by clicking the "step" markers.
N.B.: We should be careful not to break accessibility when implementing this; the indicators need to be keyboard accessible and should announce their interactive status to screen readers. ETA Some of this work (list structure with buttons) was done in 1661784. The focus here is to land strings to be localized that can be used as descriptive labels for each button, and adjust the aria properties of the buttons to use them correctly.
We can address accessibility in this bug now that the basic implementation is done. The step indicators are clickable and keyboard accessible (Tab + enter or space), but they need to be seen by screen readers.
Per @Jteh:
Ideally, I'd like to see something like this (where ARIA is acceptable in place of native HTMl):
<nav>
<ol>
<li><button aria-current="step">Getting Started</button></li>
<li><button>Import</button></li>
<li><button>Choose a look</button></li>
</ol>
</nav>
- This does require that each screen has a label. I'm not sure if that's feasible or not.
- Note that aria-current="step" should be moved to whichever indicator is associated with the current screen.
- <ol> generates visible numbers, and if you style those away, they'll also disappear for a11y. You may need to do something like <ul><li><button>3. Choose a look</button></li></ul>
- You can use aria-label for buttons (HTML or ARIA) without text content, as long as they have a width and height > 0.
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
We're closing this and 1661784 as WONTFIX for now; the work has turned up several regressions and fixing them will require some significant refactoring. It's been decided the step indicators for multistage about:welcome will remain a visual element only for now.
Assignee | ||
Updated•5 years ago
|
Updated•2 years ago
|
Description
•