Skip to content

Commit

Permalink
Update to docs
Browse files Browse the repository at this point in the history
More accurate a11y AC but not fully comprehensive. 

Update CHANGELOG.md
  • Loading branch information
Chris Yoong committed Feb 9, 2021
1 parent 4d3f274 commit de92f81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

## Unreleased

* Update design of accordion component ([PR #1884](https://github.com/alphagov/govuk_publishing_components/pull/1884))
* Bump govuk-frontend from 3.10.2 to 3.11.0 ([PR #1911](https://github.com/alphagov/govuk_publishing_components/pull/1911))
* Rescope Brexit CTA on contextual sidebar ([PR #1910](https://github.com/alphagov/govuk_publishing_components/pull/1910))
* Remove `listenForCrossOriginMessages` from CookieBanner ([PR #1906](https://github.com/alphagov/govuk_publishing_components/pull/1906))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,18 @@ accessibility_criteria: |
* accept focus
* be usable with a keyboard
* indicate when they have focus
* the controls must change in appearance when keyboard focus moves to it
* the controls must indicate when the mouse is hovered over it
* be usable with touch
* be usable with voice commands
* have visible text
* indicate to users that each section can be expanded and collapsed
* inform the user when a step has been expanded or collapsed
* be readable when only the text of the page is zoomed in
* be readable when only the [text of the page is zoomed in](https://support.mozilla.org/en-US/kb/font-size-and-zoom-increase-size-of-web-pages#w_how-to-only-change-the-size-of-the-text)
* zoom in up to 300% without the text spilling off the screen
* pass colour contrast
* the accordion header button element has aria-controls set to the ID of the element containing the accordion panel content.
* section content must have aria-label / aria-labelledby with a value that refers to the button that controls display of the content.
Section headings must use a button element:
Expand Down

0 comments on commit de92f81

Please sign in to comment.