2017-05-23 01:59:14 +02:00
|
|
|
# Accessibility
|
|
|
|
|
|
|
|
## Guidelines
|
|
|
|
|
|
|
|
In order to accommodate all users, Zulip strives to implement accessibility
|
2021-08-20 21:53:28 +02:00
|
|
|
best practices in its user interface. There are many aspects to accessibility;
|
2017-05-23 01:59:14 +02:00
|
|
|
here are some of the more important ones to keep in mind.
|
|
|
|
|
2021-08-20 21:45:39 +02:00
|
|
|
- All images should have alternative text attributes for the benefit of users
|
2017-05-23 01:59:14 +02:00
|
|
|
who cannot see them (this includes users who are utilizing a voice interface
|
|
|
|
to free up their eyes to look at something else instead).
|
2021-08-20 21:45:39 +02:00
|
|
|
- The entire application should be usable via a keyboard (many users are unable
|
2017-05-23 01:59:14 +02:00
|
|
|
to use a mouse, and many accessibility aids emulate a keyboard).
|
2021-08-20 21:45:39 +02:00
|
|
|
- Text should have good enough contrast against the background to enable
|
2017-05-23 01:59:14 +02:00
|
|
|
even users with moderate visual impairment to be able to read it.
|
2021-08-20 21:45:39 +02:00
|
|
|
- [ARIA](https://www.w3.org/WAI/intro/aria) (Accessible Rich Internet
|
2017-05-23 01:59:14 +02:00
|
|
|
Application) attributes should be used appropriately to enable screen
|
|
|
|
readers and other alternative interfaces to navigate the application
|
|
|
|
effectively.
|
|
|
|
|
|
|
|
There are many different standards for accessibility, but the most relevant
|
|
|
|
one for Zulip is the W3C's [WCAG](https://www.w3.org/TR/WCAG20/) (Web Content
|
2021-08-20 21:53:28 +02:00
|
|
|
Accessibility Guidelines), currently at version 2.0. Whenever practical, we
|
2017-05-23 01:59:14 +02:00
|
|
|
should strive for compliance with the AA level of this specification.
|
|
|
|
(The W3C itself
|
|
|
|
[recommends not trying](https://www.w3.org/TR/UNDERSTANDING-WCAG20/conformance.html#uc-conf-req1-head)
|
|
|
|
to comply with the highest AAA level for an entire web site or application,
|
|
|
|
as it is not possible for some content.)
|
|
|
|
|
|
|
|
## Tools
|
|
|
|
|
|
|
|
There are tools available to automatically audit a web page for compliance
|
2021-08-20 21:53:28 +02:00
|
|
|
with many of the WCAG guidelines. Here are some of the more useful ones:
|
2017-05-23 01:59:14 +02:00
|
|
|
|
2021-08-20 21:45:39 +02:00
|
|
|
- [Accessibility Developer Tools][chrome-webstore]
|
2022-01-06 12:45:00 +01:00
|
|
|
This open-source Chrome extension from Google adds an accessibility audit to
|
2021-08-20 21:53:28 +02:00
|
|
|
the "Audits" tab of the Chrome Developer Tools. The audit is performed
|
2017-05-23 01:59:14 +02:00
|
|
|
against the page's DOM via JavaScript, allowing it to identify some issues
|
|
|
|
that a static HTML inspector would miss.
|
2022-01-06 12:45:00 +01:00
|
|
|
- [axe](https://www.deque.com/products/axe/) An open-source Chrome and Firefox
|
2017-05-23 01:59:14 +02:00
|
|
|
extension which runs a somewhat different set of checks than Google's Chrome
|
|
|
|
extension.
|
2021-08-20 21:45:39 +02:00
|
|
|
- [Wave](https://wave.webaim.org/) This web application takes a URL and loads
|
2017-05-23 01:59:14 +02:00
|
|
|
it in a frame, reporting on all the issues it finds with links to more
|
2021-08-20 21:53:28 +02:00
|
|
|
information. Has the advantage of not requiring installation, but requires
|
2017-05-23 01:59:14 +02:00
|
|
|
a URL which can be directly accessed by an external site.
|
2021-08-20 21:45:39 +02:00
|
|
|
- [Web Developer](https://chrispederick.com/work/web-developer/) This browser
|
2017-05-23 01:59:14 +02:00
|
|
|
extension has many useful features, including a convenient link for opening
|
|
|
|
the current URL in Wave to get an accessibility report.
|
|
|
|
|
|
|
|
Note that these tools cannot catch all possible accessibility problems, and
|
2021-08-20 21:53:28 +02:00
|
|
|
sometimes report false positives as well. They are a useful aid in quickly
|
2017-05-23 01:59:14 +02:00
|
|
|
identifying potential problems and checking for regressions, but their
|
|
|
|
recommendations should not be blindly obeyed.
|
|
|
|
|
2020-08-11 01:47:54 +02:00
|
|
|
## GitHub issues
|
2017-05-23 01:59:14 +02:00
|
|
|
|
|
|
|
Problems with Zulip's accessibility should be reported as
|
|
|
|
[GitHub issues](https://github.com/zulip/zulip/issues) with the "accessibility"
|
2021-08-20 21:53:28 +02:00
|
|
|
label. This label can be added by entering the following text in a separate
|
2017-05-23 01:59:14 +02:00
|
|
|
comment on the issue:
|
|
|
|
|
2021-08-20 07:09:04 +02:00
|
|
|
> @zulipbot add "area: accessibility"
|
2017-05-23 01:59:14 +02:00
|
|
|
|
|
|
|
If you want to help make Zulip more accessible, here is a list of the
|
2017-05-23 04:12:43 +02:00
|
|
|
[currently open accessibility issues][accessibility-issues].
|
2017-05-23 01:59:14 +02:00
|
|
|
|
2020-08-11 01:47:54 +02:00
|
|
|
## Additional resources
|
2017-05-23 01:59:14 +02:00
|
|
|
|
|
|
|
For more information about making Zulip accessible to as many users as
|
|
|
|
possible, the following resources may be useful.
|
|
|
|
|
2021-08-20 21:45:39 +02:00
|
|
|
- [Font Awesome accessibility guide](https://fontawesome.com/how-to-use/on-the-web/other-topics/accessibility),
|
2017-06-08 23:05:11 +02:00
|
|
|
which is especially helpful since Zulip uses Font Awesome for its icons.
|
2021-08-20 21:45:39 +02:00
|
|
|
- [Web Content Accessibility Guidelines (WCAG) 2.0](https://www.w3.org/TR/WCAG/)
|
|
|
|
- [WAI-ARIA](https://www.w3.org/WAI/intro/aria) - Web Accessibility Initiative
|
2017-05-23 01:59:14 +02:00
|
|
|
Accessible Rich Internet Application Suite
|
2021-08-20 21:45:39 +02:00
|
|
|
- [WebAIM](https://webaim.org/) - Web Accessibility in Mind
|
|
|
|
- The [MDN page on accessibility](https://developer.mozilla.org/en-US/docs/Web/Accessibility)
|
|
|
|
- The [Open edX Accessibility Guidelines][openedx-guidelines] for developers
|
2017-05-23 04:12:43 +02:00
|
|
|
|
|
|
|
[chrome-webstore]: https://chrome.google.com/webstore/detail/accessibility-developer-t/fpkknkljclfencbdbgkenhalefipecmb
|
2024-03-20 03:17:36 +01:00
|
|
|
[openedx-guidelines]: https://docs.openedx.org/en/latest/developers/concepts/accessibility.html
|
2024-09-05 22:37:03 +02:00
|
|
|
[accessibility-issues]: https://github.com/zulip/zulip/issues?q=is%3Aissue+is%3Aopen+label%3Aaccessibility
|