Skip to content

Missing aria props #1479

Closed
Closed
@cloudlena

Description

@cloudlena

When running apps using this library with the latest https://github.com/sveltejs/vite-plugin-svelte, it complains about the following issues:

.../node_modules/carbon-components-svelte/src/Toggle/Toggle.svelte:57:4 A11y: Elements with the ARIA role "switch" must have the following attributes defined: "aria-checked"
.../node_modules/carbon-components-svelte/src/UIShell/HeaderSearch.svelte:64:7 A11y: Elements with the ARIA role "combobox" must have the following attributes defined: "aria-controls", "aria-expanded"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions