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: The attribute 'aria-selected' is not supported by the role 'listitem' #213

Closed
shadowempire123 opened this issue Mar 14, 2023 · 1 comment
Labels
a11y Accessibility

Comments

@shadowempire123
Copy link

shadowempire123 commented Mar 14, 2023

...
"svelte-multiselect": "^8.5.0"
"@azure/msal-browser": "^2.34.0",
"@beyonk/svelte-datepicker": "^12.0.1",
"@popperjs/core": "^2.11.6",
"@skeletonlabs/skeleton": "^1.0.0",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.11.0",
"@tailwindcss/forms": "^0.5.3",
"autoprefixer": "^10.4.14",
"classnames": "^2.3.2",
"flowbite": "^1.6.4",
"flowbite-svelte": "^0.32.1",
"postcss": "^8.4.21",
"prettier": "^2.8.4",
"prettier-plugin-svelte": "^2.9.0",
"svelte": "^3.56.0",
"svelte-multiselect": "^8.5.0",
"svelte-preprocess": "^5.0.1",
"tailwindcss": "^3.2.7",
"vite": "^4.1.4"
...
import MultiSelect from 'svelte-multiselect'
...

<MultiSelect
--sms-options-bg="white"
--sms-text-color="gray"
bind:selected={oTComponent}
id="multiselect-components"
options={componentItems}
placeholder="Select the component(s)"
/>

@janosh janosh changed the title [vite-plugin-svelte] /node_modules/svelte-multiselect/dist/MultiSelect.svelte:544:12 A11y: The attribute 'aria-selected' is not supported by the role 'listitem'. This role is implicit on the element <li>. A11y: The attribute 'aria-selected' is not supported by the role 'listitem' Mar 14, 2023
@janosh janosh added the a11y Accessibility label Mar 14, 2023
@janosh
Copy link
Owner

janosh commented Mar 14, 2023

This was already fixed by @RyanZhiNie in #211. I'll cut a new release with TS v5 soon.

@janosh janosh closed this as completed Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility
Projects
None yet
Development

No branches or pull requests

2 participants