Accessibility violation -
Can you please remove aria-label attribute from <span />
element?
What would be a better way to indicate to screen reader users that this is a placeholder, not actual content?
An alternative to this would be wrapping the placeholder with a role="note"
or aria-describedby
attribute pointing to hidden descriptive text.
When I hide the placeholder entirely and use aria-placeholder
, NVDA will announce the editor as ‘[placeholder text] edit multiline’. Does that sound like an improvement?
@marijn Thanks for prompt response. Adding role=note
fixes the accessibility violation.
And the screen reader reader reads this -
I’m not just looking to make the checker quiet, though. How does the aria-placeholder
solution sound to you?