fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Narrator announces combobox as readonly

Open caiomontei opened this issue 7 years ago • 7 comments

Codepen demonstrating the issue

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

Actual behavior:

If Combobox doesn't allow free from input, narrator reads it as readonly.

Expected behavior:

Narrator should not announce readonly, since the user can select other options.

Documentation describing expected behavior

https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc=%7b54f28d1f-a2d1-4dcd-84e1-5c9b87e8aba4%7d

caiomontei avatar Jul 17 '19 17:07 caiomontei

@caiomontei thanks for submitting this and including a codepen! This is a bug and we'll work on getting it fixed.

joschect avatar Jul 17 '19 21:07 joschect

@joschect Yeah, this shouldn't need to be read-only

jspurlin avatar Sep 25 '19 22:09 jspurlin

Is there ever a case where this might be readonly, or should we just 100% remove that attribute?

micahgodbolt avatar Jan 03 '20 00:01 micahgodbolt

When a combobox is disabled is should be marked up as readonly since the value can't be changed (it's also marked up as aria-disabled)

jspurlin avatar Jan 06 '20 15:01 jspurlin

but is read-only assumed by AT when an input is disabled? Can I simply remove the readonly attribute?

micahgodbolt avatar Jan 06 '20 16:01 micahgodbolt

that's probably a safe assumption from the AT perspective, but I know readonly makes it to where the control is not editable. Without that, I think the comboBox may become editable

jspurlin avatar Jan 07 '20 17:01 jspurlin

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.

msft-fluent-ui-bot avatar Feb 04 '22 19:02 msft-fluent-ui-bot