14 lines
389 B
JavaScript
14 lines
389 B
JavaScript
|
|
import Link from '@mui/material/Link';
|
||
|
|
import Box from '@mui/material/Box';
|
||
|
|
import { visuallyHidden } from '@mui/utils';
|
||
|
|
|
||
|
|
export default function VisuallyHiddenUsage() {
|
||
|
|
return (
|
||
|
|
<Link href="#foo">
|
||
|
|
Read more
|
||
|
|
{/* always visually hidden because the parent is focusable element */}
|
||
|
|
<Box sx={visuallyHidden}>about how to visually hide elements</Box>
|
||
|
|
</Link>
|
||
|
|
);
|
||
|
|
}
|