Added changeset
Signed-off-by: Hamza El Aoutar <elaoutarhamza@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-components': minor
|
||||
---
|
||||
|
||||
Announce external links to screen readers
|
||||
@@ -28,13 +28,13 @@ import {
|
||||
const useStyles = makeStyles(
|
||||
{
|
||||
visuallyHidden: {
|
||||
top: 0,
|
||||
clip: 'rect(0 0 0 0)',
|
||||
clipPath: 'inset(50%)',
|
||||
overflow: 'hidden',
|
||||
position: 'absolute',
|
||||
zIndex: 1000,
|
||||
transform: 'translateY(-200%)',
|
||||
'&:focus': {
|
||||
transform: 'translateY(5px)',
|
||||
},
|
||||
whiteSpace: 'nowrap',
|
||||
height: 1,
|
||||
width: 1,
|
||||
},
|
||||
},
|
||||
{ name: 'Link' },
|
||||
|
||||
Reference in New Issue
Block a user