wai-tutorials icon indicating copy to clipboard operation
wai-tutorials copied to clipboard

Fix the description for aria-labelledby

Open niwsa opened this issue 4 years ago • 1 comments

Reference => https://www.w3.org/TR/wai-aria-1.1/#aria-label

aria-labelledby is used when content is visible either via tooltip or visible text.

niwsa avatar Nov 01 '19 12:11 niwsa

@niwsa I think your change is not what we want to say with this (terribly long and hard to understand) sentence. I think what we want to say is:

The aria-labelledby attribute can also be used to identify form controls. This approach is well supported by screen readers and other assistive technology. Unlike the title attribute (see below), the information is not conveyed to visual users by default. This approach should therefore only be used when the label of the control is clear from the surrounding content, like the button in the example below.

Then, we should probably add a sentence about title being not available to many users (like ones using speech input or keyboard-only).

Thanks for creating this PR. I try to make some changes soon.

yatil avatar Nov 27 '19 09:11 yatil