Skip to content

Commit

Permalink
fix(progress): non visual alternative to step text
Browse files Browse the repository at this point in the history
added aria-label if withStep is false

fix #721
  • Loading branch information
Gabss405 committed Aug 26, 2021
1 parent 4dc5142 commit 2eea70b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 314 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ exports[`<Progress /> Accessibility renders the component with props with no a11
class="c0"
>
<div
aria-label="Progress Bar showing step 2 of 5"
class="c1"
tabindex="-1"
>
<span
class="c2"
Expand Down Expand Up @@ -244,7 +246,9 @@ exports[`<Progress /> Props renders empty progress bar 1`] = `
class="c0"
>
<div
aria-label="Progress Bar showing step 0 of 5"
class="c1"
tabindex="-1"
>
<span
class="c2"
Expand Down Expand Up @@ -377,7 +381,9 @@ exports[`<Progress /> Props renders full progress bar 1`] = `
class="c0"
>
<div
aria-label="Progress Bar showing step 5 of 5"
class="c1"
tabindex="-1"
>
<span
class="c2"
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 2eea70b

Please sign in to comment.