Skip to content

Commit

Permalink
fix dead docs link
Browse files Browse the repository at this point in the history
  • Loading branch information
snowystinger committed Feb 24, 2025
1 parent 0b1048a commit e2f694a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-aria-components/docs/ListBox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1981,7 +1981,7 @@ A `ListBoxItem` can be targeted with the `.react-aria-ListBoxItem` CSS selector,

<StateTable properties={docs.exports.ListBoxItemRenderProps.properties} showOptional />

Items also support two slots: a label, and a description. When provided using the `<Text>` element, the item will have `aria-labelledby` and `aria-describedby` attributes pointing to these slots, improving screen reader announcement. See [complex items](#complex-items) for an example.
Items also support two slots: a label, and a description. When provided using the `<Text>` element, the item will have `aria-labelledby` and `aria-describedby` attributes pointing to these slots, improving screen reader announcement. See [complex items](#text-slots) for an example.

Note that items may not contain interactive children such as buttons, as screen readers will not be able to access them.

Expand Down

0 comments on commit e2f694a

Please sign in to comment.