Skip to content

Skip aria-hidden emojis #29

@TheJaredWilcurt

Description

@TheJaredWilcurt
<template #label>
  <span aria-hidden>🔽</span>
  Title
</template>
<template #label="{ isOpen }">
  <span aria-hidden>{{ isOpen ? "🔼" : "🔽" }}</span>
  Title
</template>

The above results in this message:

Emojis should be wrapped in , have role="img", and have an accessible description with aria-label or aria-labelledby

If it has an aria-hidden it should skip that message. aria-hidden completely removes the entire element from the accessibility API. So the role and label will not be seen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions