Skip to content

fix: add missing accessibility label on E-Mail header link#19

Open
suet-kei-chan wants to merge 1 commit into
mainfrom
nmc/5884-add-missing-accessibility-labels
Open

fix: add missing accessibility label on E-Mail header link#19
suet-kei-chan wants to merge 1 commit into
mainfrom
nmc/5884-add-missing-accessibility-labels

Conversation

@suet-kei-chan

Copy link
Copy Markdown

The E-Mail link in the header had no accessible name for screen readers despite having visible text and opening in a new tab.

Changes:

  • Add aria-label to the element composing the email text with the unread count when applicable (e.g. "E-Mail, 12 unread, opens in new tab") and always appending ", opens in new tab" to inform screen readers that the link opens in a new browser tab
  • Add aria-hidden="true" to the mail icon, unread badge, and label
    to prevent screen readers from double-announcing the content already covered by the aria-label on the parent link

The E-Mail link in the header had no accessible name for screen readers
despite having visible text and opening in a new tab.

Changes:
- Add aria-label to the <a> element composing the email text with the
  unread count when applicable (e.g. "E-Mail, 12 unread, opens in new tab")
  and always appending ", opens in new tab" to inform screen readers that
  the link opens in a new browser tab
- Add aria-hidden="true" to the mail icon, unread badge, and label <div>
  to prevent screen readers from double-announcing the content already
  covered by the aria-label on the parent link
@suet-kei-chan suet-kei-chan self-assigned this Jul 9, 2026
@suet-kei-chan suet-kei-chan requested a review from memurats July 9, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant