Skip to content

Commit 459d68c

Browse files
chrisdhanarajhellobrian
authored andcommitted
fix(a11y): minor markup fix to improve breadcrumb semantics (#263)
1 parent d79df74 commit 459d68c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/breadcrumb/breadcrumb.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="bx--breadcrumb bx--breadcrumb--no-trailing-slash">
1+
<nav class="bx--breadcrumb bx--breadcrumb--no-trailing-slash" aria-label="breadcrumb">
22
<div class="bx--breadcrumb-item">
33
<a href="#" class="bx--link">Breadcrumb 1</a>
44
</div>
@@ -11,5 +11,4 @@
1111
<div class="bx--breadcrumb-item">
1212
<span>Breadcrumb 4</span>
1313
</div>
14-
</div>
15-
14+
</nav>

0 commit comments

Comments
 (0)