fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

ScreenReader does not announces the column and row values for the Months "MAY ,JUNE ..." correctly.

Open caiomontei opened this issue 7 years ago • 4 comments

Codepen demonstrating the issue

https://codepen.io/anon/pen/EBEvyg?&editable=true

Actual behavior:

All months are being read as column one. (E.g. May is being announce as row 1 column 5)

Expected behavior:

Months should be announced according to the table layout displayed in the screen (E.g. May should be announced as row 2 column 1)

Documentation describing expected behavior

https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html

caiomontei avatar Jul 01 '19 17:07 caiomontei

Hi @caiomontei! Thanks for filing this issue!

I gather that the issue relates to months being read as all of them being part of a single row instead of three, correct? I think this is indeed a bug and I'll try to have a fix as soon as I can.

khmakoto avatar Jul 01 '19 21:07 khmakoto

Hi,

Yes, exactly that. Thanks!

caiomontei avatar Jul 01 '19 21:07 caiomontei

I've taken a look at this and it seems like we'd need to restructure how we render the months in the Calendar for this to work correctly. We currently use a map of the months inside buttons with role="gridcell" set inside a single div with role="row" set. This causes the situation described above.

Because of the huge effort that this would require in terms of restructuring, I'll be putting this on backlog review for now. Thanks!

khmakoto avatar Jul 19 '19 22:07 khmakoto

This issue is fixed in the date-time package version of Calendar (which did that button refactoring described above). Closing, although not everyone will get the fix until we explicitly deprecate OUFR Calendar.

lorejoh12 avatar Nov 11 '19 21:11 lorejoh12