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

Fix: Update deprecated aria-label #2368

Merged
merged 1 commit into from
Jan 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 33 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
"test-ui": "npx playwright test src/tests/ui/",
"test-playwright-accessibility": "start-server-and-test start-server http://localhost:3000 test-accessibility",
"test-accessibility": "npx playwright test src/tests/accessibility"

},
"eslintConfig": {
"extends": "react-app"
Expand Down
4 changes: 2 additions & 2 deletions src/app/views/query-response/graph-toolkit/GraphToolkit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const GraphToolkit = () => {

const currentTheme: ITheme = getTheme();
const textStyle = queryResponseStyles(currentTheme).queryResponseText.root as IStyle;
const linkStyle = queryResponseStyles(currentTheme).link as IStyle
const linkStyle = queryResponseStyles(currentTheme).link as IStyle;

if (toolkitUrl && exampleUrl) {
return (
Expand All @@ -35,7 +35,7 @@ const GraphToolkit = () => {
</Link>
.
</MessageBar>
<iframe width='100%' height='470px' src={toolkitUrl} title={translateMessage('Graph toolkit')} />
<iframe width='100%' height='400px' src={toolkitUrl} title={translateMessage('Graph toolkit')} />
</>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/views/sidebar/sample-queries/SampleQueries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const UnstyledSampleQueries = (sampleProps?: ISampleQueriesProps): JSX.Element =
>
<Icon
className={classes.docLink}
ariaLabel={translateMessage('Query documentation')}
aria-label={translateMessage('Query documentation')}
iconName='TextDocument'
style={{
marginRight: '45%',
Expand Down