mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
fix: resolve a11y
warnings from Svelte version 3.58 (#1732)
* chore(deps-dev): upgrade svelte to 3.58 * chore(a11y): ignore false positives Referencing the upstream Carbon React implementation, these warnings can be ignored. * fix(list-box-menu-item): set `tabindex` to `-1` * chore: fix `tabindex` capitalization The Svelte Language server does not detect `tabIndex` as a valid attribute. Note, however, that `tabIndex` is correct when using it in JavaScript (e.g., `node.tabIndex`).
This commit is contained in:
parent
b9aaa3adca
commit
c02b4738bc
9 changed files with 16 additions and 13 deletions
|
@ -58,6 +58,7 @@
|
|||
</script>
|
||||
|
||||
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
||||
<!-- svelte-ignore a11y-interactive-supports-focus -->
|
||||
<div
|
||||
role="tablist"
|
||||
class:bx--content-switcher="{true}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue