-
Notifications
You must be signed in to change notification settings - Fork 3
Search count inside label #1730
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
Conversation
jonkafton
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the one mistype on the selector.
For my curiosity, what is the intent of this change? I would have thought the count to be semi-auxiliary information that clutters the audio. I guess all information should be available to screen readers, though doesn't labels such as "With Certificate 20" break the semantics? Would role="presentation" help, or does that default the point?
| .facet-visible .facet-label label:hover, | ||
| .facet-visible input:hover + .facet-label label { | ||
| color: ${({ theme }) => theme.custom.colors.darkGray2}; | ||
| &.chcked, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&.checked here (impact is that we don't get the darker text when checked).
I can see both viewpoints (clutter audio / useful info) but am deferring to the screenreader review on this one. This particular piece of screenreader feedback—and many others we're working on lately—come from a full-time screenreader user + accessibility expert who works for MIT. |
What are the relevant tickets?
For https://github.com/mitodl/hq/issues/5708
Description (What does it do?)
Puts the search count inside the
<label>for screenreadersScreenshots (if appropriate):
No visual change
How can this be tested?
pointeron the count now, too.Checklist:
labelcourse-search-utils#151