-
Notifications
You must be signed in to change notification settings - Fork 152
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: auditory cues to convey information are WCAG 1.1.1 not 1.3.3 #2653
fix: auditory cues to convey information are WCAG 1.1.1 not 1.3.3 #2653
Conversation
WCAG 2.1 1.3.3. is only scope to *instructions* that describe other things based on sensory characteristics. The use of audio alone as a cue is not a failure of 1.3.3, but of 1.1.1. Audio-only cues are non-text content (and time-based media, though relatively short ones). This may not be immediately clear/obvious from the normative wording of the SC (nor the current normative definition of "non-text content" which gives only visual examples), but referring to 1.1.1 Understanding https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html see example 8: > An e-learning application > > An e-learning application uses sound effects to indicate whether or not the answers are correct. The chime sound indicates that the answer is correct and the beep sound indicates that the answer is incorrect. > A text description is also included so that people who can't hear or understand the sound understand whether the answer is correct or incorrect.
Hi @patrickhlauke, the changes in your PR appear to have introduced some failures for tests. Please make sure that you've merged in the most recent changes from master/have run |
@JGibson2019 admittedly, i have very little idea here of how the whole thing is set up, but fundamentally: when doing a PR, do you also need to edit the snapshot against which this then gets tested? |
No worries! When you make a PR it's best practice to run |
This change sounds good to me. |
i've tried running those tests, but am getting a boatload of failures on 100s of seemingly unrelated things. wondering if my environment is incorrectly set up ... i'm not much of a CLI warrior. getting failures for things like:
|
it IS also telling me that 1 snapshot was updated, but can't see anything for me to commit/add to this PR when i do
|
The failures you're seeing with the unit tests are probably due to not having built ( The updated snapshot not showing up in |
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.
Thanks for the contribution!
thanks for the assist there @dbjorge ... i'll have a play with my local environment regardless, hopefully i'll be better prepped for future contributions :) |
WCAG 2.1 1.3.3. is only scope to instructions that describe other things based on sensory characteristics. The use of audio alone as a cue is not a failure of 1.3.3, but of 1.1.1. Audio-only cues are
non-text content (and time-based media, though relatively short ones). This may not be immediately clear/obvious from the normative wording of the SC (nor the current normative definition of "non-text content"
which gives only visual examples), but referring to 1.1.1 Understanding https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html see example 8:
Pull request checklist
yarn fastpass
yarn test
)<rootDir>/test-results/unit/coverage
fix:
,chore:
,feat(feature-name):
,refactor:
). SeeCONTRIBUTING.md
.