// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {VisuallyHidden} from '@astryxdesign/core/VisuallyHidden'; import {Card} from '@astryxdesign/core/Card'; import {HStack, VStack} from '@astryxdesign/core/Layout'; import {Text} from '@astryxdesign/core/Text'; import {Badge} from '@astryxdesign/core/Badge'; const items = [ {name: 'astryx-core', status: 'Passing', variant: 'success'}, {name: 'astryx-charts', status: 'Failing', variant: 'error'}, {name: 'astryx-cli', status: 'Passing', variant: 'success'}, ] as const; export default function VisuallyHiddenStructuralHeading() { return ( The layout makes this group obvious to sighted users. A hidden heading gives screen-reader users the same landmark to jump to. {/* No visible heading is needed here, but AT users navigate by heading. */} Build status {items.map(({name, status, variant}) => ( {name} ))} ); }