Update accessibility-related docs to clarify tools usage and reflect feedback

pull/5265/head
Thibaud Colas 2019-04-25 13:05:01 +01:00
rodzic 7b417681cd
commit effb0866b4
2 zmienionych plików z 16 dodań i 12 usunięć

Wyświetl plik

@ -190,20 +190,23 @@ Accessibility targets
We want to make Wagtail accessible for users of a wide variety of assistive technologies. The specific standard we aim for is `WCAG2.1 <https://www.w3.org/TR/WCAG21/>`_, AA level. Wagtails administration user interface isnt accessible at the moment (see `issue #4199 <https://github.com/wagtail/wagtail/issues/4199>`_), but here are specific assistive technologies we aim to test for, and ultimately support:
=====================================================================================================================
Assistive technology
=====================================================================================================================
Screen reader: `NVDA <https://www.nvaccess.org/download/>`_ on Windows with Firefox ESR
Screen reader: `VoiceOver <https://support.apple.com/en-gb/guide/voiceover-guide/welcome/web>`_ on macOS with Safari
Magnification: `Windows Magnifier <https://support.microsoft.com/en-gb/help/11542/windows-use-magnifier>`_
Magnification: macOS Zoom
Voice control: Windows Speech Recognition
Voice control: macOS Dictation
============= ====================
Type Assistive technology
============= ====================
Screen reader `NVDA <https://www.nvaccess.org/download/>`_ on Windows with Firefox ESR
Screen reader `VoiceOver <https://support.apple.com/en-gb/guide/voiceover-guide/welcome/web>`_ on macOS with Safari
Magnification `Windows Magnifier <https://support.microsoft.com/en-gb/help/11542/windows-use-magnifier>`_
Magnification macOS Zoom
Voice control Windows Speech Recognition
Voice control macOS Dictation
Screen reader Mobile `VoiceOver <https://support.apple.com/en-gb/guide/voiceover-guide/welcome/web>`_ on iOS, or `TalkBack <https://support.google.com/accessibility/android/answer/6283677?hl=en-GB>`_ on Android
============= ====================
We aim for Wagtail to work in those environments. Our development standards ensure that the site is usable with other assistive technologies. In practice, testing with assistive technology can be daunting for newcomers – here are browser extensions that can help identify accessibility issues, to use during development:
We aim for Wagtail to work in those environments. Our development standards ensure that the site is usable with other assistive technologies. In practice, testing with assistive technology can be a daunting task that requires specialised training – here are tools we rely on to help identify accessibility issues, to use during development and code reviews:
* `Axe <https://chrome.google.com/webstore/detail/axe/lhdoppojpmngadmnindnejefpokejbdd>`_ for automated tests of a given page.
* `Accessibility Insights for Web <https://accessibilityinsights.io/docs/en/web/overview>`_ for semi-automated tools, and manual audits.
* `react-axe <https://github.com/dequelabs/react-axe>`_ integrated directly in our build tools, to identify actionable issues. Logs its results in the browser console.
* `Axe <https://chrome.google.com/webstore/detail/axe/lhdoppojpmngadmnindnejefpokejbdd>`_ Chrome extension for more comprehensive automated tests of a given page.
* `Accessibility Insights for Web <https://accessibilityinsights.io/docs/en/web/overview>`_ Chrome extension for semi-automated tests, and manual audits.
Compiling static assets
~~~~~~~~~~~~~~~~~~~~~~~

Wyświetl plik

@ -12,5 +12,6 @@ Principles
~~~~~~~~~~
* Write `valid HTML <https://validator.w3.org/nu/>`_. We target the HTML5 doctype.
* Write `semantic HTML <http://html5doctor.com/element-index/>`_.
* Attach JavaScript behavior with ``data-`` attributes, rather than classes or IDs.
* For comments, use Django templates syntax instead of HTML.