Skip to content

Commit

Permalink
Update aria-labels for relevance and correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Lanza committed Jul 20, 2024
1 parent 65d5c26 commit 76bbe1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ const Header = ({ data }: { data: any }) => {
rel="noreferrer"
onClick={dispatchState}
style={{textDecoration: "none", color: "inherit"}}
aria-label='Data Tables (raw and computed) in a new tab'
aria-label='Data Tables (raw and computed)'
tabIndex={3 + ALTTEXT_SIDEBAR_TABS}
>
<Button
Expand Down Expand Up @@ -265,7 +265,7 @@ const Header = ({ data }: { data: any }) => {
<MenuItem onClick={() => setShowImportModal(true) } color="inherit" aria-label="Import UpSet JSON state file">
Import State
</MenuItem>
<MenuItem onClick={() => exportState(provenance)} color="inherit" aria-label="State File Download: UpSet JSON">
<MenuItem onClick={() => exportState(provenance)} color="inherit" aria-label="UpSet JSON state file download">
Export State
</MenuItem>
<MenuItem onClick={() => exportState(provenance, data, getRows(data, provenance.getState()))} aria-label="Download UpSet JSON state file with table data included">
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const Home = () => {
<Typography variant="body1" color="text.secondary">
You haven't loaded data, you can't access the workspace you are attemping to view, or you are not logged in.
To log in, click the account icon in the top right corner.
To load stored data or upload new data, visit <Link href="https://multinet.app" aria-label="Navigate to Multinet homepage" color="secondary.dark">multinet.app</Link>.
To load stored data or upload new data, visit <Link href="https://multinet.app" aria-label="Multinet homepage" color="secondary.dark">multinet.app</Link>.
</Typography>
<Typography variant="h5" color="text.primary" sx={{marginTop: "1rem"}}>
Examples
Expand Down

0 comments on commit 76bbe1a

Please sign in to comment.