我不明白的辅助功能指南
Accessibility Guideline I Don't Understand
我正在查看遵守美国残疾人法案的指导方针列表。我不明白这个:
When text is not available use the title attribute
这到底是什么意思?文本什么时候不是 "available"?
Well Stack Overflow 有几个。查看您声誉左侧的顶部栏。你会看到几个按钮。我想知道这些按钮是什么?
多亏 title
属性设置得当,我们才能找到答案!
"When text is not available" - 任何时候您有旨在传达某些内容但没有文字解释的内容。因此,虽然可以应用图形图标(即使图像本身有文本),但没有标签的文本输入也可以。
W3C - Using the title attribute to identify form controls when the label element cannot be used
但是,不用于传达某些内容的图像不应包含它(此处的示例是一条波浪线):
W3C - Using null alt text and no title attribute on img elements for images that AT should ignore
我正在查看遵守美国残疾人法案的指导方针列表。我不明白这个:
When text is not available use the title attribute
这到底是什么意思?文本什么时候不是 "available"?
Well Stack Overflow 有几个。查看您声誉左侧的顶部栏。你会看到几个按钮。我想知道这些按钮是什么?
多亏 title
属性设置得当,我们才能找到答案!
"When text is not available" - 任何时候您有旨在传达某些内容但没有文字解释的内容。因此,虽然可以应用图形图标(即使图像本身有文本),但没有标签的文本输入也可以。
W3C - Using the title attribute to identify form controls when the label element cannot be used
但是,不用于传达某些内容的图像不应包含它(此处的示例是一条波浪线):
W3C - Using null alt text and no title attribute on img elements for images that AT should ignore