1 @title Assistive Technologies
4 Information about making Phabricator accessible to assistive technologies.
9 Assistive technologies help people with disabilities use the web. For example,
10 screen readers can assist people with limited or no eyesight by reading the
11 contents of pages aloud.
13 Phabricator has some support for assistive technologies, and we'd like to have
14 more support. This document describes how to use the currently available
15 features to improve the accessibility of Phabricator.
21 The most common issue assistive technologies encounter is buttons, links, or
22 other elements which only convey information visually (usually through an icon
25 These elements can be made more accessible by providing an aural-only label.
26 This label will not be displayed by visual browsers, but will be read by screen
29 To add an aural-only label to an element, use `javelin_tag()` with the
37 pht('Aural Label Here'));
39 This label should be placed inside the button or link that you are labeling.
41 You can also use `aural` on a container to provide an entirely different
42 replacement element, but should be cautious about doing this.
44 NOTE: You must use `javelin_tag()`, not `phutil_tag()`, to get support for
51 Occasionally, a visual element should be hidden from screen readers. This should
52 be rare, but some textual elements convey very little information or are
53 otherwise disruptive for aural users.
55 This technique can also be used to offer a visual alternative of an element
56 and a different aural alternative element. However, this should be rare: it is
57 usually better to adapt a single element to work well for both visual and aural
60 You can mark an element as visual-only by using `javelin_tag()` with the
71 Previewing Aural Pages
72 ======================
74 To verify aural markup, you can add `?__aural__=1` to any page URI. This will
75 make Phabricator render the page with styles that reveal aural-only elements and
76 mute visual-only elements.