You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the DocBook HTML stylesheets creates an <a> link, but without an aria-label. This is an accessibility issue for site checkers like Siteimprove.
Proposed solution
I identified the named template simple.xlink. I see several solutions to this problem:
Provide another xsl:param, let's say aria-label that can provide the necessary addition. By default, it could be set to the href attribute or the <link> content.
Allow a more fine-granular customization by providing a named template simple.xlink.attr (or whatevery name you like) which is called inside the simple.xlink template. It creates additional attributes.
Situation
When the DocBook HTML stylesheets creates an
<a>
link, but without an aria-label. This is an accessibility issue for site checkers like Siteimprove.Proposed solution
I identified the named template
simple.xlink
. I see several solutions to this problem:xsl:param
, let's sayaria-label
that can provide the necessary addition. By default, it could be set to thehref
attribute or the<link>
content.simple.xlink.attr
(or whatevery name you like) which is called inside thesimple.xlink
template. It creates additional attributes.Reference
https://help.siteimprove.com/support/solutions/articles/80001050610-sia-r11-link-without-a-text-alternative-explained
The text was updated successfully, but these errors were encountered: