Skip to content

Commit

Permalink
fix(link): update SB to pass in a11yLabel values (#677)
Browse files Browse the repository at this point in the history
* fix(link): update SB to pass in a11yLabel values

* chore: add changeset
  • Loading branch information
sirrah-tam committed Jan 23, 2024
1 parent 536a598 commit 8f8c2bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-kings-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ithaka/pharos': patch
---

Updates the Link to use a11yLabel values within Storybook
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const Base = {
href={args.href}
hreflang={args.hreflang}
indicateVisited={args.indicateVisited}
a11yLabel={args.label}
a11yLabel={args.a11yLabel}
noHover={args.noHover}
isOnBackground={args.isOnBackground}
ping={args.ping}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const Base = {
href=${ifDefined(args.href)}
hreflang=${ifDefined(args.hreflang)}
?indicate-visited=${args.indicateVisited}
a11y-label=${ifDefined(args.label)}
a11y-label=${ifDefined(args.a11yLabel)}
?no-hover=${args.noHover}
?is-on-background=${args.isOnBackground}
ping=${ifDefined(args.ping)}
Expand Down

0 comments on commit 8f8c2bb

Please sign in to comment.