Open Bug 1937217 Opened 2 months ago Updated 1 month ago

[contextual-password-manager] Heading on the failed import message is only styled to look like a heading but it is not marked up as such

Categories

(Toolkit :: Password Manager, defect)

defect

Tracking

()

Accessibility Severity s4

People

(Reporter: ayeddi, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

When importing passwords fails, an error message is shown which includes a heading - Couldn't' import passwords. This text is only styled to look like a heading but it is not marked up as such. Having this marked up would allow screen reader users to skim the page by heading and quickly navigate to the needed heading via the screen reader-provided keyboard shortcut. It also serves as a title for the section (alert, in this case) like a title for a book or its chapter.

Replacing <strong> with <h3> or other appropriate heading level would resolve the issue.

Adding Hanna in case this may be addressed on the moz-message-bar component level

Thank you!

I think this can be addressed at the moz-message-bar level since the heading applies to other notification messages in CPM. Hanna is there a bug on file for this?

Flags: needinfo?(hjones)

Hey! Nope nothing on file, but if it's preferable from a semantic / a11y perspective to always use an h3 instead of a strong tag for all instances of moz-message-bar then we could definitely move this to Toolkit::Widgets and handle the fix on the recomp side of things. Just to confirm though - Anna does it seem desirable to make this change for all moz-message-bars?

Flags: needinfo?(hjones) → needinfo?(ayeddi)
Group: mozilla-employee-confidential
CC list accessible: false
Not accessible to reporter
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: