Bug 33808: Add aria-labels in opac-basket.tt
This patch adds an aria-label and an aria-haspopup to Download buttons
identified as non-descriptive in accessibility testing
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit aa0f113f97)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
c7ab9be9b0
commit
b1ddaa0b15
|
|
@ -31,7 +31,7 @@
|
|||
[% END %]
|
||||
|
||||
<div id="download-cart" class="btn-group dropdown">
|
||||
<a id="format" class="btn btn-link dropdown-toggle" data-toggle="dropdown" role="button" href="#"><i class="fa fa-fw fa-download" aria-hidden="true"></i> Download <b class="caret"></b></a>
|
||||
<a id="format" class="btn btn-link dropdown-toggle" aria-haspopup="menu" aria-label="Select format and download cart" data-toggle="dropdown" role="button" href="#"><i class="fa fa-fw fa-download" aria-hidden="true"></i> Download <b class="caret"></b></a>
|
||||
<div class="dropdown-menu" role="menu" aria-labelledby="format">
|
||||
<a role="menuitem" class="dropdown-item download-cart" data-format="bibtex" href="#">BibTeX</a>
|
||||
<a role="menuitem" class="dropdown-item download-cart" data-format="isbd" href="#">ISBD</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue