Skip to content

Commit

Permalink
va-breadcrumbs: Fix for focusability of 'hidden' breadcrumbs (#1191)
Browse files Browse the repository at this point in the history
* Fix to visually hidden breadcrumbs so that they are hidden from screen readers, too

* Web comp pack ver bump
  • Loading branch information
Andrew565 authored Jun 13, 2024
1 parent 1b83dec commit 8843d4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@department-of-veterans-affairs/web-components",
"version": "9.1.3",
"version": "9.1.4",
"description": "Stencil Component Starter",
"main": "dist/index.cjs.js",
"module": "dist/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
pointer-events: none;
}

@media screen and (max-width: 29.99em) {
.usa-breadcrumb__list-item:not(:nth-last-child(2)) {
display: none;
}
}

// Styles for V1 mode
:host([uswds='false']) {
nav {
Expand Down

0 comments on commit 8843d4c

Please sign in to comment.