Problem/Motivation

Here's a common pattern we use to provide additional context to an otherwise vague link for SR users:

<pre>
<a href="#whatever">Books <span class="visually-hidden">for class ABC</span></a>
</pre>

Link Purpose will place the icon within the visually hidden span, preventing sighted users from seeing it.

Steps to reproduce

Proposed resolution

Tricky... How should LP know what span or other element it's inserting into is visually hidden? It can't really know that. May need to be a configurable option to avoid inserting the icon into certain elements, in which case it inserts after that element instead?

Remaining tasks

User interface changes

API changes

Data model changes

Comments

bkosborne created an issue. See original summary.

itmaybejj’s picture

Assigned: Unassigned » itmaybejj
bkosborne’s picture

Issue summary: View changes

  • itmaybejj committed e2420cd6 on 1.0.x
    Issue #3442966 by bkosborne, itmaybejj: Icon may be placed inside a...

  • itmaybejj committed 8d5d9c76 on 1.0.x
    Issue #3442966 by itmaybejj: Icon may be placed inside a visually hidden...
itmaybejj’s picture

Issue summary: View changes
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

bkosborne’s picture

Issue summary: View changes