mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
chore(radio): aria-labelledby added
This commit is contained in:
parent
7bf11ce93c
commit
972a53d615
@ -103,6 +103,7 @@ export function useRadio(props: UseRadioProps) {
|
||||
isDisabled,
|
||||
isRequired,
|
||||
"aria-label": ariaLabel,
|
||||
"aria-labelledby": otherProps["aria-labelledby"] || ariaLabel,
|
||||
"aria-describedby": otherProps["aria-describedby"] || ariaDescribedBy,
|
||||
};
|
||||
}, [isDisabled, isRequired]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user