Re: [whatwg/encoding] aria-label usage in BMP coverage table (#261)

noting also that `aria-label` would, IF supported, override the content in the cells. so having something like

```
<td class="discontiguous upper" aria-label="Three bytes">
  <dl>
    <dt>U+2013</dt>
    <dd lang="el">–</dd>
    <dd>22</dd>
  </dl>
</td>
```

would mean (if SRs actually used the `aria-label`) that SR users would not get access to the actual visible content of the cell, but just hear "Three bytes" ... meaning they'd miss out on actual important content.

I'd say in general, rather than trying to patch things with `aria-label` here, it makes much more sense to use visually hidden extra text, a la

```
<td class="discontiguous upper">
  <span class="visually-hidden">Three bytes</span>
  <dl>
    <dt>U+2013</dt>
    <dd lang="el">–</dd>
    <dd>22</dd>
  </dl>
</td>
```



-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/issues/261#issuecomment-2545175687
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/encoding/issues/261/2545175687@github.com>

Received on Monday, 16 December 2024 10:20:34 UTC