Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append visually hidden group title to the element template label #738

Open
rpkoller opened this issue Jan 16, 2023 · 2 comments
Open

Append visually hidden group title to the element template label #738

rpkoller opened this issue Jan 16, 2023 · 2 comments
Labels
a11y backlog Queued in backlog enhancement New feature or request pr welcome We rely on a community contribution to improve this. spring cleaning Could be cleaned up one day

Comments

@rpkoller
Copy link

Is your feature request related to a problem? Please describe
If you are stepping through the list of available element templates as a screen reader user and you have a group of lets say more than 20 templates within a single group it might be difficult to remember in which context aka group you currently are. the smaller the working memory the more challenging the endeavor.

Describe the solution you'd like
lets say you have the following setup with two groups and five templates

group 1
  one template
  another template
  yet another template
group 2
  a template
  one template

i would suggest to append the group title in a visually hidden span.

one template<span class="visually-hidden"> for group 1</span>
or as an alternativ
one template<span class="visually-hidden">: group 1</span>

that way the most important information aka the template name is front loaded but at any point the information which group a template belongs to is available afterwards and could be skipped at any point.
but there is still the issue about how those templates are announced or better not announced. for that i have to open up a separate issue.

Describe alternatives you've considered

Additional context

@rpkoller rpkoller added the enhancement New feature or request label Jan 16, 2023
@nikku nikku transferred this issue from bpmn-io/element-template-chooser Jan 18, 2023
@nikku
Copy link
Member

nikku commented Jan 18, 2023

Transfered this to the core as our create/append/replace anything UI suffers the same issue.

@nikku
Copy link
Member

nikku commented Jan 18, 2023

@rpkoller I wonder how this interacts with #735, i.e. the fact that we don't properly group elements in an accessible manner.

If elements were properly linked to a "parent", the group, would that fix things? Or can we attach a meaningful title to elements?

@barmac barmac added backlog Queued in backlog spring cleaning Could be cleaned up one day pr welcome We rely on a community contribution to improve this. a11y labels Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y backlog Queued in backlog enhancement New feature or request pr welcome We rely on a community contribution to improve this. spring cleaning Could be cleaned up one day
Development

No branches or pull requests

3 participants