mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
Fix a11y warnings emitted by Svelte v3.45 (#989)
* chore(deps-dev): bump svelte to version 3.45 * fix: resolve a11y violations Fixes #988
This commit is contained in:
parent
e4a4f136fa
commit
502f9379fa
4 changed files with 6 additions and 7 deletions
|
@ -198,7 +198,6 @@
|
|||
bind:this="{ref}"
|
||||
class:bx--list-box__field="{true}"
|
||||
tabindex="0"
|
||||
role="button"
|
||||
aria-expanded="{open}"
|
||||
on:keydown="{(e) => {
|
||||
const { key } = e;
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
|
||||
<svelte:window bind:innerWidth="{winWidth}" />
|
||||
|
||||
<header role="banner" aria-label="{ariaLabel}" class:bx--header="{true}">
|
||||
<header aria-label="{ariaLabel}" class:bx--header="{true}">
|
||||
<slot name="skip-to-content" />
|
||||
{#if ($shouldRenderHamburgerMenu && winWidth < expansionBreakpoint) || persistentHamburgerMenu}
|
||||
<HamburgerMenu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue