Page MenuHomePhabricator

Add more accessibility labels for screen readers
ClosedPublic

Authored by epriestley on Aug 17 2018, 5:56 PM.
Tags
None
Referenced Files
F13282193: D19595.diff
Sun, Jun 2, 11:47 AM
F13279638: D19595.diff
Sat, Jun 1, 9:44 PM
F13247078: D19595.id46850.diff
Thu, May 23, 3:39 PM
F13240583: D19595.id.diff
Wed, May 22, 3:18 PM
F13224114: D19595.id46850.diff
Sun, May 19, 6:27 AM
F13212062: D19595.diff
Fri, May 17, 6:21 AM
F13195679: D19595.diff
Sun, May 12, 10:33 PM
F13190878: D19595.id.diff
Sat, May 11, 2:53 PM
Subscribers
None

Details

Summary

Depends on D19594. See PHI823. Ref T13164.

  • Add a label for the "X" button in comment areas, like "Remove Action: Change Subscribers".
  • Add a label for the floating header display options menu in Differential.
  • Add role="button" to PHUIButtonView objects that we render with an <a ...> tag.
Test Plan

Viewed a revision with ?__aural__=true:

  • Saw "Remove Action: ..." label.
  • Saw "Display Options" label.
  • Used inspector to verify that some <a class="button" ...> now have <a class="button" role="button" ...>. This isn't exhaustive, but at least improves things. A specific example is the "edit", "reply", etc., actions on inline comments.

Diff Detail

Repository
rP Phabricator
Branch
acc2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 20643
Build 28053: Run Core Tests
Build 28052: arc lint + arc unit