Files
react-test/docs/data/system/screen-readers/VisuallyHiddenUsage.tsx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
389 B
TypeScript
Raw Permalink Normal View History

2025-12-12 14:26:25 +09:00
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>
);
}