Skip to content

Slider accessibility name calculation fixes for Chrome (#1148) #1389

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

Merged
merged 3 commits into from
Dec 17, 2020

Conversation

majornista
Copy link
Collaborator

Per #1148 (review) and https://bugs.chromium.org/p/chromium/issues/detail?id=1159567

Closes #1231, relates to #1148. Closes #1148. Closes #1231.

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue 1231.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

🧢 Your Project:

Adobe/accessibility

LFDanLu
LFDanLu previously approved these changes Dec 17, 2020
Copy link
Member

@LFDanLu LFDanLu left a comment

Choose a reason for hiding this comment

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

LGTM, confirmed that the calculated accessibility name is "Label [Maximum/Minimum]" for the range slider handles.

image

Confirmed that normal sliders announced the same in VoiceOver and that the hook slider 3 thumb stories aria-label story announced the thumb letter properly now

@devongovett devongovett dismissed stale reviews from LFDanLu via c63e022 December 17, 2020 17:11
Copy link
Member

@devongovett devongovett left a comment

Choose a reason for hiding this comment

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

I suppose we should come up with a more general workaround for other components at some point but this is fine for now.

@devongovett devongovett merged commit f8e2bee into adobe:main Dec 17, 2020
devongovett added a commit that referenced this pull request Dec 17, 2020
dannify added a commit that referenced this pull request Dec 18, 2020
…" (#1397)

* Revert "Slider accessibility name calculation fixes for Chrome (#1148) (#1389)"

This reverts commit f8e2bee.

* Update packages/@react-spectrum/color/test/ColorSlider.test.tsx

Co-authored-by: Danni <[email protected]>
majornista pushed a commit to majornista/react-spectrum-v3 that referenced this pull request Dec 18, 2020
…#1148)" (adobe#1397)

* Revert "Slider accessibility name calculation fixes for Chrome (adobe#1148) (adobe#1389)"

This reverts commit f8e2bee.

* Update packages/@react-spectrum/color/test/ColorSlider.test.tsx

Co-authored-by: Danni <[email protected]>
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.

Slider Accessibility Audit
3 participants