Changeset updates
Signed-off-by: Eric Voshall <6836155+ericvoshall@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-react': minor
|
||||
'@backstage/plugin-catalog-react': patch
|
||||
---
|
||||
|
||||
Accessibility updates:
|
||||
|
||||
@@ -1,7 +1,30 @@
|
||||
---
|
||||
'@backstage/create-app': minor
|
||||
'@backstage/create-app': patch
|
||||
---
|
||||
|
||||
Accessibility updates:
|
||||
|
||||
- Added `aria-label` to the sidebar Logo link
|
||||
- Added `aria-label` to the sidebar Logo link. To enable this for an existing app, please make the following changes:
|
||||
|
||||
`packages/app/src/components/Root/Root.tsx`
|
||||
|
||||
```diff
|
||||
const SidebarLogo = () => {
|
||||
const classes = useSidebarLogoStyles();
|
||||
const { isOpen } = useContext(SidebarContext);
|
||||
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
<Link
|
||||
component={NavLink}
|
||||
to="/"
|
||||
underline="none"
|
||||
className={classes.link}
|
||||
+ aria-label="Home"
|
||||
>
|
||||
{isOpen ? <LogoFull /> : <LogoIcon />}
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
```
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog': minor
|
||||
'@backstage/plugin-catalog': patch
|
||||
---
|
||||
|
||||
Accessibility updates:
|
||||
|
||||
Reference in New Issue
Block a user