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

Added DAC suggestions to warning panel for accessibility reasons #1320

Merged
merged 4 commits into from
Jan 26, 2021

Conversation

trevorsaint
Copy link
Contributor

Warning panel has been updated to meet DAC accessibility requirements

Previous style attributes had not conveyed the important information for screen readers. A visual user would have understood the message whereas a screen reader would have read it out like any other paragraph in the site with no emphasis.

The use of strong has been added as well as screen reader only assistive purpose 'Warning' span.

DAC suggested pattern below

Screenshot 2021-01-25 at 13 20 24

This has been applied using our own visually hidden class.

@codecov
Copy link

codecov bot commented Jan 25, 2021

Codecov Report

Merging #1320 (e2d99c8) into master (ab8fbdc) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1320   +/-   ##
=======================================
  Coverage   93.62%   93.62%           
=======================================
  Files          33       33           
  Lines        1506     1506           
=======================================
  Hits         1410     1410           
  Misses         96       96           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 023c2e4...e2d99c8. Read the comment docs.

@trevorsaint
Copy link
Contributor Author

Warning panel updates

@jrbarnes9
Copy link
Contributor

@trevorsaint trevorsaint requested a review from jrbarnes9 January 26, 2021 09:28
@trevorsaint trevorsaint merged commit 29ee136 into master Jan 26, 2021
@trevorsaint trevorsaint deleted the panel-updates-dac branch January 26, 2021 13:24
boxadesign pushed a commit that referenced this pull request Feb 17, 2023
* Added DAC suggestions to warning panel for accessibility reasons
* Added flexibility to override default icon text for accessibility. Code consistency tweaks
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.

3 participants