by myfonj · 3y ago · 0 comments
This triple dash thingy (≡) is in this case "identical to" Unicode character, so this is what you'd most probably hear from the screen reader. Other pages (mis)use similar characters, for example "Trigram for heaven". Not very helpful.
Truly accessible active elements must communicate their function through meaningful text, not cryptic astral Unicode from exotic blocks.
<label for="menustate">
<span class="open">≡</span>
<span class="close">×</span>
</label>
So there still remains "readable" structure loosely identical to <label>identical to multiplication sign</label>
(With active CSS, only one half would be presented to SR, since the other has `display: none`, but still…)BTW Fact that wording of the link in the article pointing to the codepen is "this codepen" is also … not right.