Skip to content

Commit

Permalink
fix: Use specified spelling for "doc-acknowledgments" role; add en_US…
Browse files Browse the repository at this point in the history
… locale (#315)

Version 0.2.0 of page-structural-semantics-scanner-tests corrects the spelling of the “doc-acknowledgments” role. This patch adopts the correct spelling in code, but presents it in the en_GB and en_US locales as expected. This required adding support for locales in the build script and, based on that, “colour” was localised too.
  • Loading branch information
matatk authored Jun 5, 2019
1 parent c6f1b00 commit cfbfd6c
Show file tree
Hide file tree
Showing 8 changed files with 456 additions and 1,174 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ If an `aria-labelledby` attribute references multiple elements, all of those ele

The following additional landmark roles defined in the [Digital Publishing WAI-ARIA Module 1.0](https://www.w3.org/TR/dpub-aria-1.0/) are also supported.

- `doc-acknowledgements`
- `doc-acknowledgments`
- `doc-afterword`
- `doc-appendix`
- `doc-bibliography`
Expand Down
Loading

0 comments on commit cfbfd6c

Please sign in to comment.