Skip to content

Commit

Permalink
fix(react-examples): Add aria-label to identify link in Checkbox exam…
Browse files Browse the repository at this point in the history
…ple (#16423)

(microsoftdesign/fluentui#10211)
  • Loading branch information
andrefcdias authored Jan 11, 2021
1 parent be4ad02 commit 77c4f82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ export const CheckboxOtherExample: React.FunctionComponent = () => {
function _renderLabelWithLink() {
return (
<span>
Custom-rendered label with a{' '}
Custom-rendered label with a link{' '}
<Link href="https://www.microsoft.com" target="_blank">
link
go to Microsoft home page
</Link>
</span>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ exports[`Component Examples renders Checkbox.Other.Example.tsx correctly 1`] = `
</i>
</div>
<span>
Custom-rendered label with a
Custom-rendered label with a link

<a
className=
Expand Down Expand Up @@ -712,7 +712,7 @@ exports[`Component Examples renders Checkbox.Other.Example.tsx correctly 1`] = `
onClick={[Function]}
target="_blank"
>
link
go to Microsoft home page
</a>
</span>
</label>
Expand Down

0 comments on commit 77c4f82

Please sign in to comment.