fix(ui): improve DateRangePicker accessibility and fix docs link
- Add aria-label="Open calendar" and aria-hidden on icon for the calendar trigger button - Add aria-hidden on nav button icons (React Aria provides built-in labels for prev/next slots) - Update React Aria docs link to react-aria.adobe.com format Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -17,8 +17,7 @@ import { CodeBlock } from '@/components/CodeBlock';
|
||||
import { ReactAriaLink } from '@/components/ReactAriaLink';
|
||||
|
||||
export const reactAriaUrls = {
|
||||
dateRangePicker:
|
||||
'https://react-spectrum.adobe.com/react-aria/DateRangePicker.html',
|
||||
dateRangePicker: 'https://react-aria.adobe.com/DateRangePicker',
|
||||
};
|
||||
|
||||
<PageTitle
|
||||
|
||||
Reference in New Issue
Block a user