[Rt-commit] rt branch, 4.2/aria-label-arrows, created. rt-4.2.5-143-g7f732e6
Kevin Falcone
falcone at bestpractical.com
Thu Jul 3 10:01:12 EDT 2014
The branch, 4.2/aria-label-arrows has been created
at 7f732e60fbbc225ba277ba4ca50a6c0cdb8d942b (commit)
- Log -----------------------------------------------------------------
commit 7f732e60fbbc225ba277ba4ca50a6c0cdb8d942b
Author: Keith Creasy <kcreasy at aph.org>
Date: Mon Jun 30 13:32:39 2014 -0400
Added aria-label attributes in SelectionBox to help screen readers speak the Add, Move up, and Move down buttons.
diff --git a/share/html/Widgets/SelectionBox b/share/html/Widgets/SelectionBox
index a6d1e78..e0fc497 100644
--- a/share/html/Widgets/SelectionBox
+++ b/share/html/Widgets/SelectionBox
@@ -176,7 +176,7 @@ $self => undef
</select>
% unless ($self->{ReadOnly}) {
-<input name="add" type="submit" class="button" value=" → " />
+<input aria-label="Add" name="add" type="submit" class="button" value=" → " />
% }
<select name="<%$name%>-Selected" id="<%$name%>-Selected" size="<%$size%>" multiple="multiple">
@@ -190,8 +190,8 @@ selected="selected"
</select>
% unless ($self->{'ReadOnly'}) {
% unless ($ARGS{'NoArrows'}) {
- <input name="moveup" type="submit" class="button" value=" ↑ " />
- <input name="movedown" type="submit" class="button" value=" ↓ " />
+ <input aria-label="Move up" name="moveup" type="submit" class="button" value=" ↑ " />
+ <input aria-label="Move down" name="movedown" type="submit" class="button" value=" ↓ " />
% }
<input name="remove" type="submit" class="button" value="<&|/l&>Delete</&>" />
% if ($ARGS{'Clear'}) {
-----------------------------------------------------------------------
More information about the rt-commit
mailing list