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

fix: setting labels appearing in widgets #213826

Merged
merged 1 commit into from
May 29, 2024
Merged

fix: setting labels appearing in widgets #213826

merged 1 commit into from
May 29, 2024

Conversation

rzhao271
Copy link
Contributor

Fixes #213717

@rzhao271 rzhao271 self-assigned this May 29, 2024
@rzhao271 rzhao271 enabled auto-merge (squash) May 29, 2024 15:40
@vscodenpa vscodenpa added this to the May 2024 milestone May 29, 2024
Comment on lines +902 to 903
label: '',
tooltip: this.getLocalizedStrings().editActionTooltip,
Copy link
Member

Choose a reason for hiding this comment

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

Don't you need a label for a11y reasons?

Copy link
Contributor Author

@rzhao271 rzhao271 May 29, 2024

Choose a reason for hiding this comment

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

There is an icon for the button and a tooltip
Supplying a label overrides the icon

Copy link
Member

Choose a reason for hiding this comment

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

Does a screen reader read the tooltip when it's tabbed to? If it just reads the icon, chances are this is a bad experience

@rzhao271 rzhao271 requested a review from Tyriar May 29, 2024 15:57
@rzhao271
Copy link
Contributor Author

Here's how the button looks with this PR. Please check #213717 for how the buttons look in Insiders.
Tooltip shows up in NVDA

@rzhao271 rzhao271 merged commit 23b0f28 into main May 29, 2024
7 checks passed
@rzhao271 rzhao271 deleted the rzhao271/fix-labels branch May 29, 2024 16:15
@microsoft microsoft locked and limited conversation to collaborators Jul 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rendering issue for settings with type "object"
3 participants