fix(frontend): add screenreader/text-only labels for name/pronoun/field entries (fixes #98)
This commit is contained in:
parent
467069c898
commit
dd9c9c442c
|
@ -18,7 +18,6 @@
|
||||||
let iconElement: HTMLElement;
|
let iconElement: HTMLElement;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<span bind:this={iconElement} tabindex={0}
|
<Icon aria-hidden name={currentPreference.icon} class={className} />
|
||||||
><Icon name={currentPreference.icon} class={className} /></span
|
<span class="visually-hidden">{currentPreference.tooltip}:</span>
|
||||||
>
|
<Tooltip aria-hidden target={iconElement} placement="top">{currentPreference.tooltip}</Tooltip>
|
||||||
<Tooltip target={iconElement} placement="top">{currentPreference.tooltip}</Tooltip>
|
|
||||||
|
|
Loading…
Reference in New Issue