Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EGRC-140: Added test of component control implementation description #11

Merged
merged 2 commits into from
Mar 17, 2021

Conversation

rgauss
Copy link
Contributor

@rgauss rgauss commented Mar 16, 2021

Review PRs #4 and #13 first.

Adds test of component control implementation description which requires hovering/clicking the statement label.

This also required adding an empty href to the tooltip Link to give it an accessible role.

I haven't investigated devDependencies so I'm not sure that move is strictly needed.

Copy link
Contributor

@kkennedy26 kkennedy26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@@ -116,7 +116,7 @@ function ReplacedProseWithByComponentParameterValue(props) {
<Typography>
<Tooltip title={
<Typography variant="body2">{description}</Typography>
}><Link>{props.label}</Link></Tooltip>
}><Link href={''}>{props.label}</Link></Tooltip>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting an empty href may lead to future accessibility concerns, but my console didn't explicitly have any warnings so I will approve this PR.

@rgauss rgauss merged commit 546b7da into EGRC-211 Mar 17, 2021
@rgauss rgauss deleted the EGRC-140 branch March 17, 2021 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants