Changeset updates

Signed-off-by: Eric Voshall <6836155+ericvoshall@users.noreply.github.com>
This commit is contained in:
Eric Voshall
2022-05-13 11:44:02 -04:00
parent 1f70704580
commit 9f72bbc490
3 changed files with 27 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
---
'@backstage/plugin-catalog-react': minor
'@backstage/plugin-catalog-react': patch
---
Accessibility updates:
+25 -2
View File
@@ -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 -1
View File
@@ -1,5 +1,5 @@
---
'@backstage/plugin-catalog': minor
'@backstage/plugin-catalog': patch
---
Accessibility updates: