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

A11y: improve a11y capability, adding ARIA roles #155

Closed
3 of 4 tasks
BobH-Official opened this issue Jul 31, 2023 · 0 comments
Closed
3 of 4 tasks

A11y: improve a11y capability, adding ARIA roles #155

BobH-Official opened this issue Jul 31, 2023 · 0 comments
Labels
feature request New feature or request

Comments

@BobH-Official
Copy link

Clear and concise description of the problem

svelte vite plugin returns such warnings:

[vite-plugin-svelte] /node_modules/.pnpm/[email protected]/node_modules/konsta/svelte/components/icons/DeleteIcon.svelte:21:2 A11y: <svg> with click handler must have an ARIA role ... etc.

Suggested solution

According to MDN: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role

It should be easy to add A11y support, by adding a new attribute role="button" to the element.

<div role="button">Title of my button</div>

Alternative

No response

Additional context

Another issue about A11y: #92

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

  • I'm willing to open a PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant