You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the regular HTML5 placeholder attribute. So if the screenreader doesn't read it, that's just the way it works. I think the actual issue here is, that people often consider the placeholder to be an equivalent to the label, which it isn't. I think this issue falls in the general category: force people to label their input fields. I am not sure if we can build up a proper prop validation for that, since when being inside a EuiFormRow the label should be set by this, if not we would require the author to manually specify an aria-label that labels the textarea.
For whoever fixes that ticket: we should at least add aria-label to all of those textareas.
Think you might have a chromevox bug. This works fine in generic mac voiceover and reads the placeholder. Agree with tim, but that's more policy / guideline than code.
I'll add aria-labels to these examples without form row though.
Activity
timroes commentedon May 7, 2018
This is the regular HTML5 placeholder attribute. So if the screenreader doesn't read it, that's just the way it works. I think the actual issue here is, that people often consider the placeholder to be an equivalent to the label, which it isn't. I think this issue falls in the general category: force people to label their input fields. I am not sure if we can build up a proper prop validation for that, since when being inside a
EuiFormRowthe label should be set by this, if not we would require the author to manually specify anaria-labelthat labels the textarea.For whoever fixes that ticket: we should at least add
aria-labelto all of those textareas.snide commentedon May 7, 2018
Think you might have a chromevox bug. This works fine in generic mac voiceover and reads the placeholder. Agree with tim, but that's more policy / guideline than code.
I'll add aria-labels to these examples without form row though.