Skip to content

Commit

Permalink
Accessible name op de SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
rianrietveld committed Jan 9, 2025
1 parent 6a5ff03 commit c986084
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/storybook-test/stories/link/link.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import '../../../components-css/link-css/src/test.scss';
const ExampleImage = () => (
<svg
role="img"
aria-label="NL Design System logo"
aria-label="NL Design System logo, naar de voorpagina"
width="420"
height="auto"
viewBox="0 0 1120 630"
Expand Down Expand Up @@ -340,7 +340,6 @@ export const Current: Story = {
export const inlineBox: Story = {
name: 'Link rondom image',
args: {
'aria-label': 'NL Design System logo, naar de voorpagina',
children: <ExampleImage />,
href: 'https://nldesignsystem.nl/',
inlineBox: true,
Expand All @@ -364,7 +363,6 @@ export const inlineBox: Story = {
export const inlineBoxHover: Story = {
name: 'Link rondom image met :hover',
args: {
'aria-label': 'NL Design System logo, naar de voorpagina',
children: <ExampleImage />,
className: 'nl-link--hover',
href: 'https://nldesignsystem.nl/',
Expand All @@ -390,7 +388,6 @@ export const inlineBoxCurrent: Story = {
name: 'Link rondom image, current page',
args: {
'aria-current': 'true',
'aria-label': 'NL Design System logo, naar de voorpagina',
children: <ExampleImage />,
href: 'https://nldesignsystem.nl/',
inlineBox: true,
Expand Down

0 comments on commit c986084

Please sign in to comment.