[Koha-bugs] [Bug 25166] Add "aria-hidden = true" to Font Awesome icons in the OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 20 23:14:22 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25166

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #103055|0                           |1
        is obsolete|                            |

--- Comment #2 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 103316
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103316&action=edit
Bug 25166: Add "aria-hidden = true" to Font Awesome icons in the OPAC

Font Awesome's accessibility guidelines
(https://fontawesome.com/v4.7.0/accessibility/) suggest that we include
'aria-hidden="true"' in the icon markup. This prevents screen
readers from trying to read the icon. This patch adds the attribute.

To test apply the patch and browse the OPAC looking for any problems
with icons: On search results, bibliographic details page, the cart,
lists, etc.

Check the source and verify that Font Awesome icons have the
"aria-hidden" attribute.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Attribute present, all looks good. The 'aria-label' attribute is
not translatable, but it's another problem.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list