fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Getting Invalid ARIA attribute value accessibility error in detailsList header component

Open mdmdakbar opened this issue 9 years ago • 2 comments

Issue - Getting following accessibilty error in each details list header cell: Invalid ARIA attribute value: aria-describedby="header97-name-tooltip"

The dom element corresponding to id passed in aria-describedby does not exist and keros for web is giving the above error.

Below is the method in DetailsHeader.tsx where each column header is rendered -

private _onRenderColumnHeaderTooltip(tooltipHostProps: ITooltipHostProps, defaultRender?: IRenderFunction) { return ( span className={ tooltipHostProps.hostClassName }> { tooltipHostProps.children } /span > ); } Here tooltipHostProps.children is using aria-describedby property but the id corresponding to it is not set anywhere.

Are you willing to submit a PR to fix? No

Products/sites affected: VSTS

Attaching the snapshot of one of the usages of detailsList in VSTS. capture1

This is present across all usages of detailsList in VSTS.

mdmdakbar avatar Nov 30 '17 12:11 mdmdakbar

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions to Fabric React!

stale[bot] avatar Apr 11 '18 06:04 stale[bot]

@mdmdakbar, closing this as it should be fixed by https://github.com/OfficeDev/office-ui-fabric-react/pull/4487 and here's a related issue https://github.com/OfficeDev/office-ui-fabric-react/issues/4372

Please re-open if that's not the case. Thank you for the report!

KevinTCoughlin avatar Apr 19 '18 23:04 KevinTCoughlin