-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
Component: GroupedListContribution CandidateThis issue is a good opportunity to contribute to Fluent UIThis issue is a good opportunity to contribute to Fluent UIFluent UI react (v8)Issues about @fluentui/react (v8)Issues about @fluentui/react (v8)Needs: AttentionStatus: Fix ProposedIssue has been investigated and a proposed fix existsIssue has been investigated and a proposed fix existsStatus: FixedFixed in some PRFixed in some PR
Description
Environment Information
- Package version(s): @fluentui/react@^7.134.3
- Browser and OS versions: Edge Chromium, Windows 10
Please provide a reproduction of the bug in a codepen:
https://codepen.io/nloyolag/pen/JjKLPpG?editable=true%3Dhttps%3A%2F%2Fdeveloper.microsoft.com%2F
Actual behavior:
When passing aria-labelledby to GroupList, the property is not exposed to the div containing the list. This behavior does work on the List component.
A colleague of mine digged into this and found that List supports the native HTML attributes, but GroupedList doesn't.
| const divProps = getNativeProps<React.HTMLAttributes<HTMLDivElement>>(this.props, divProperties); |
| } = this.props; |
Expected behavior:
GroupedList supports HTML attributes, including aria-labelledby
Priorities and help requested:
Are you willing to submit a PR to fix? Yes, if we get the green light
Requested priority: Normal
Metadata
Metadata
Assignees
Labels
Component: GroupedListContribution CandidateThis issue is a good opportunity to contribute to Fluent UIThis issue is a good opportunity to contribute to Fluent UIFluent UI react (v8)Issues about @fluentui/react (v8)Issues about @fluentui/react (v8)Needs: AttentionStatus: Fix ProposedIssue has been investigated and a proposed fix existsIssue has been investigated and a proposed fix existsStatus: FixedFixed in some PRFixed in some PR