TW

Give your HTML elements an accessible name | 討論區

話題位置: 討論區首頁 » General » 網路行銷
Guangyaw
Guangyaw Nov 2 '17
Give your HTML elements an accessible name

 

Four critical pieces of information for any user interface element: role, name, state, and value. You need to make sure these are in order to meet accessibility requirements. If you do not add an accessible name to your HTML elements, screen readers will announce the accessible role. Your user would hear "button", and nothing else. Not very user-friendly! In this post, we show you exactly how to create rich, semantic HTML! 

Read the a11y Monthly »

 

Share: