You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
7:54:00 AM [vite-plugin-svelte] /Users/nates/dev/shy-svelte/src/routes/admin/+page.svelte:163:1 A11y: not interactive element cannot have positive tabIndex value
161: </div>
162:
163: <div
^
164: class="tab-pane fade"
165: id="users-content"
The actual code looks like this:
<divclass="tab-pane fade show active"id="dashboard-content"role="tabpanel"aria-labelledby="dashboard-content"tabindex="0"
>
<DashboardComponent />
</div>
In general, to facilitate keyboard navigation, it’s recommended to make the tab panels themselves focusable as well, unless the first element containing meaningful content inside the tab panel is already focusable. The JavaScript plugin does not try to handle this aspect—where appropriate, you’ll need to explicitly make your tab panels focusable by adding tabindex="0" in your markup.
Describe the bug
When I run a build, I get messages such as:
The actual code looks like this:
Per Bootstrap 5.2's documentation...
Reproduction
See above.
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: