fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

details list is setting aria-colindex properties starting from 0 instead of 1

Open niadak opened this issue 8 years ago • 2 comments

Bug Report

  • Package version(s): 5.112.0
  • Browser and OS versions: All Browser, Windows 10

Priorities and help requested:

Are you willing to submit a PR to fix? (Yes, No)

Requested priority: (Blocking, High, Normal, Low)

Products/sites affected: VSTS

Describe the issue:

details list is setting aria-rowindex, and aria-colindex properties starting from 0 instead of 1. As per ARIA guideline "Authors MUST set the value for aria-colindex to an integer greater than or equal to 1".

Refer to https://www.w3.org/TR/wai-aria-1.1/#aria-colindex for details. Screen readers, inspect tools are misbehaving in terms of column number.

Actual behavior:

Column index is starting from 0 in DetailsList

Expected behavior:

Column index should start from 0 in DetailsList

niadak avatar Jul 10 '18 08:07 niadak

There is already a PR which should fix the issue. https://github.com/OfficeDev/office-ui-fabric-react/pull/5066

niadak avatar Jul 10 '18 08:07 niadak

It looks like the PR fixed the issue. I'll close this!

natalieethell avatar Aug 09 '18 22:08 natalieethell