Pubsub component reference: add aria-label to emojis (#3130)

Small a11y fix (just like #3031)

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
Alessandro (Ale) Segala 2023-02-02 15:43:02 -08:00 committed by GitHub
parent 3b843047ef
commit f2a0f9eca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 2 deletions

View File

@ -20,8 +20,20 @@
<tr>
<td><a href="/reference/components-reference/supported-pubsub/{{ .link }}/">{{ .component }}</a>
</td>
<td align="center">{{ if .features.bulkPublish }}✅{{else}}<img src="/images/emptybox.png">{{ end }}</td>
<td align="center">{{ if .features.bulkSubscribe }}✅{{else}}<img src="/images/emptybox.png">{{ end }}</td>
<td align="center">
{{ if .features.bulkPublish }}
<span role="img" aria-label="Bulk publish supported"></span>
{{else}}
<img src="/images/emptybox.png" alt="Bulk publish not supported" aria-label="Bulk publish not supported">
{{ end }}
</td>
<td align="center">
{{ if .features.bulkSubscribe }}
<span role="img" aria-label="Bulk subscribe supported"></span>
{{else}}
<img src="/images/emptybox.png" alt="Bulk subscribe not supported" aria-label="Bulk subscribe not supported">
{{ end }}
</td>
<td>{{ .state }}</td>
<td>{{ .version }}</td>
<td>{{ .since }}</td>