フォロー

If a web page contains a button with only an icon which includes accessible name but with no visible label, I think that web page does not satisfy WCAG success criterion 2.5.3 (Label in name). Is it correct?

if there is no visible text label, then 2.5.3 does not apply since it says, effectively "the accName must contain the visible text". if the latter is not there, it's always satisfied/not applicable

the problem this SC tries to address is: a voice user sees the label text on screen, so when they want to focus/activate the control, they'll call it by what text they see on the screen ... hence, that visible text needs to be actual part of the accName otherwise their voice access software won't understand what control they mean. if there's no visible text, there's no problem there.

@patrick_h_lauke Thank you Patrick-san for your comment (as always! 🙏 ), made me correctly understand what SC 2.5.3 means and what it is intended.

ログインして会話に参加
Fedibird

様々な目的に使える、日本の汎用マストドンサーバーです。安定した利用環境と、多数の独自機能を提供しています。