Closed arunarokk closed 3 years ago
I think this is related to https://github.com/OfficeDev/office-ui-fabric-react/issues/2786.
@KevinTCoughlin This is another DetailsList issue - it looks like a dupe of #2786 because that one also talks about aria labels. Do you know why these aria labels aren't added in the case of onRenderColumnHeaderTooltip?
@KevinTCoughlin This is another DetailsList issue - it looks like a dupe of #2786 because that one also talks about aria labels. Do you know why these aria labels aren't added in the case of onRenderColumnHeaderTooltip?
Hrm its not clear to me how #2786 is related. @arunarokk can you clarify the ask here perhaps with the DOM markup you expect given a condition?
Is there an accessibility validation error that you can share?
cc: @natalieethell
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions to Fabric React!
filterAriaLabel,
sortAscendingAriaLabel,
sortDescendingAriaLabel,
when we pass these aria labels on IColumn, we have these labels are created in the DOM,
Ex:
Without onRenderColumnHeaderTooltip: https://codepen.io/anon/pen/yrGwKa
however, when we use the onRenderColumnHeaderTooltip used these labels are not being added to DOM. With onRenderColumnHeaderTooltip: https://codepen.io/anon/pen/YdXbQR
@aneeshack4 , please consider this and reopen this bug?
cc: @natalieethell @Vitalius1 @aditima we may want to consider this during List backlog review
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes.
Still require assistance? Please, create a new issue with up-to date details.
Environment Information
Please provide a reproduction of the bug in a codepen:
Actual behavior:
accessibility labels for sortAscending, sortDescending, filter , group are not added when used onRenderColumnHeaderTooltip.
looking at the codebase https://github.com/OfficeDev/office-ui-fabric-react/blob/master/packages/office-ui-fabric-react/src/components/DetailsList/DetailsColumn.base.tsx _renderAccessibleLabel - there is check for onRenderColumnHeaderTooltip, labels are added only when this onRenderColumnHeaderTooltip doesn't available on props.
Expected behavior:
these accessibility labels should be added when used onRenderColumnHeaderTooltip
Priorities and help requested:
Are you willing to submit a PR to fix? (No)
Requested priority: ( Normal)
Products/sites affected: (Power Apps portal)