Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Accessibility] Role menu aria text added #12225

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vd1992
Copy link
Contributor

@vd1992 vd1992 commented Dec 6, 2024

🤖 Resolves #11973

👋 Introduction

Added the context providing information.
I found aria-description did nothing so I went with label instead. I was using Microsoft Narrator

🧪 Testing

  1. Navigate to any page really
  2. Test however you prefer

@vd1992 vd1992 requested a review from esizer December 7, 2024 00:36
Comment on lines +160 to +166
aria-label={intl.formatMessage({
defaultMessage:
"Select a different role to access its corresponding tools and information",
id: "sSbt7W",
description:
"Aria text to describe what the purpose of the role menu is",
})}
Copy link
Member

@esizer esizer Dec 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, it looks like aria-description is not ready for production yet 😢 So not using it was the right call. However, with aria-label, we no longer know what the current role is.

We should get both contexts for this and right now, I am not sure how we can do that 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tricky, tricky then huh

@mnigh
Copy link
Contributor

mnigh commented Jan 7, 2025

@vd1992 @esizer should this PR be closed?

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.

⌨ Role menu purpose not apparent to screen readers
3 participants