New/edit profile page - Audit and fix a11y properties
Categories
(Toolkit :: Startup and Profile System, defect, P2)
Tracking
()
People
(Reporter: jhirsch, Assigned: jhirsch)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fidefe-profile-management])
Attachments
(3 files)
Audit and fix: focus order, tab order, roles, and labels as spec'd for the new/edit profile page, except for the radio group suggestion split out into bug 1936665.
Figma annotations extracted to a screenshot and copied out here for reference:
Entry types for the list below:
Type: Presentational
(Mobile and Desktop) Used for decorative elements that should be ignored by screen readers.
Type: Note
(Mobile) Used for all annotations
(Desktop) Used for non-interactive components and landmarks
Type: Arrow key navigation
(Desktop only) For interactive elements that can be reached by using the arrow keys (usually within a component reached through the tab key)
Type: Tab navigation
(Desktop only) For interactive elements that can be reached by using the tab-key.
Focus order:
- Avatar image
- Type: Note
- Name: "${avatar_name} icon"
- Role: graphic
- Page title
- Type: Note
- Name: [use on-screen string]
- Role: Heading 1
- Page subtitle
- Type: Note
- Name: [use on-screen string]
- Role: paragraph
- Learn more link
- Type: Tab Navigation
- Name: Learn more
- Role: Link
- Note: this link should open a new page
- Profile name section label
- Type: Note
- Role: Label
- Note: it might make more sense to make this an H2 to fit with the theme and avatar picker sections in the same document.
- Profile name text field
- Type: tab navigation
- Role: text field
- Note: this text box has the 'autofocus' attribute (should be focused on page load)
- Theme subheading
- Type: Note
- Role: group
- The subheading text should be an H2
- Theme picker (to be implemented separately in bug 1936665, included here for completeness)
- Type: tab navigation
- Role: radio button
- Note: Each theme option (Light, Marigold, Lichen, Magnolia, Lavender, Dark, Ocean, Terracotta, Moss, System) should be focusable and navigable, typically left to right, top to bottom. Selection should be indicated with aria-selected. It should be navigable with arrow keys.
Individual Theme Buttons should have aria-label="${profile_name} theme".
- Explore more themes link
- Type: tab navigation
- Role: Link
- Note: The "Explore more themes" link should come after the theme options. This is not a radio button, and is outside of the Theme group
- Avatar subheading
- Type: Note
- Role: group
- The subheading text should be an H2
- Avatar picker (to be implemented separately in bug 1936665, included here for completeness)
- Type: tab navigation
- Role: radio button
- Note: These should navigable in the order they appear (left to right).
Selection should be indicated with aria-selected
It should be navigable with arrow keys
Individual Avatar Buttons should have aria-label="${profile_name} avatar".
- Delete button
- Type: tab navigation
- Role: button
- Done Editing button
- Type: tab navigation
- Role: button
Updated•2 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
Assignee | ||
Comment 2•2 months ago
|
||
Assignee | ||
Comment 3•2 months ago
|
||
Assignee | ||
Comment 4•2 months ago
|
||
Mass setting S2 severity for 0.5% release bugs. Apologies for the bug spam!
Assignee | ||
Updated•23 days ago
|
Assignee | ||
Comment 5•23 days ago
|
||
Note - there is a thorough guide to these annotations: https://acorn.firefox.com/latest/resources/designer/a11y-figma-annotations-KFdQgdPq
Assignee | ||
Comment 6•22 days ago
|
||
I think we are good to close this issue.
It looks like the main gaps vs. the accessibility annotations are the big avatar image missing a label, which is fixed by bug 1936670, and the need for the avatar and theme selectors to have radio-like behavior, which is captured in bug 1934866 and bug 1934860, respectively.
Description
•