fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Read error message tied to text box on click of a button.

Open ssingh28 opened this issue 8 years ago • 5 comments

Requested priority: (Blocking, High, Normal, Low) : Blocked, accessibility issue

Products/sites affected: (if applicable):Webpart dev on Microsoft Tenant site Collection

Describe the issue:

I am creating a webpart on sharepoint using typescript and reactjs where by in the configuration pane when a mandatory text field if not filled and the save button is clicked the error message is not read by narrator screen reader. This is an accesssiblity issue and needs immediate fix.

Actual behavior:

The narrator does read out the error message on load of the configuration pane because that loaded for the first time but if the save button is clicked it doesn't pick the error message again.

Expected behavior:

The narrator must pick the error message or success messages what is associated with the button click.

If applicable, please provide a codepen repro:

ssingh28 avatar Jan 09 '18 10:01 ssingh28

I think this one needs more details and reproduces as the reading works for me with Edge + Narrator on the "Quick Chart web part" where I type a invalid number e.g. "abc" in a value textbox.

ipip2005 avatar Jan 11 '18 12:01 ipip2005

@ipip2005 : The issue is related to the scenario where if an invalid value is entered in the textbox and the button is clicked the screen reader should read out the error message. Can you please share the webpart where you find this is working so i can have a look.

ssingh28 avatar Jan 16 '18 05:01 ssingh28

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]

@ssingh28 - this sounds related to how the TextField interacts with the surrounding context in your pane. Narrator does read out the error message in the TextField demo page. https://developer.microsoft.com/en-us/fabric#/components/textfield Can you please share a repro (either codepen or your MS site)?

aditima avatar May 04 '18 17:05 aditima

As I noted before, I wasn't able to repro this. Please reopen with a repro if you are still seeing this.

aditima avatar May 31 '18 23:05 aditima