Skip to content

Commit

Permalink
Merge pull request #303 from alphagov/fix-input-a11y-test
Browse files Browse the repository at this point in the history
Fix automated a11y test error with input
  • Loading branch information
andysellick authored May 10, 2018
2 parents 5dc0bb1 + df46218 commit 6301033
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Unreleased

* Fix automated a11y test error with input (PR #303)
* Add an optional `canonical` meta tag (PR #302)
* Iterate branding model (PR #300)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ examples:
description: |
Allows the addition of an aria-describedby attribute. Note that this will be overridden in the event of an error, where the error will be used for the describedby attribute value.
The example below uses the ID of the skiplink container for demonstration purposes, in real use this would be passed the ID of an element that correctly described the input.
The example below uses the ID of the main container for demonstration purposes as there aren't any useful elements with IDs in the component guide. In real use this would be passed the ID of an element that correctly described the input.
data:
label:
text: "This might not work"
name: "labelledby"
describedby: "skiplink-container"
describedby: "wrapper"
with_error:
data:
label:
Expand Down

0 comments on commit 6301033

Please sign in to comment.