wcag

Voice over doesn't read phone number properly

故事扮演 提交于 2019-11-29 05:08:06
I have phone number in below format 1-1xx-2xx-9565 Currently VO read it as " One (pause) One x x (pause) two x x (pause) minus nine thousand five hundred sixty five ". VO should read it as " One (pause) One x x (pause) two x x (pause) nine five six five ". What could be the problem? Is this wrong phone format? Let's break down what is happening. VoiceOver doesn't know that the text you are presenting is a phone number and treats it like a sentence of text. In that text it tries to find distinct components and read them appropriately. For example, the text "buy 60 cantaloupes" has 3 components,

How do I make Font Awesome WCAG 2.0 compatible?

五迷三道 提交于 2019-11-29 03:11:22
问题 If I have a site with a couple of font awesome icons on it, e.g. <i class="fa fa-fw fa-cloud "></i> And run this through the WCAG 2.0 validator I get the following error: Success Criteria 1.4.4 Resize text (AA) Check 117: i (italic) element used. Repair: Replace your i elements with em or strong. Error Line 185, Column 158: <i class="fa fa-fw fa-cloud"></i> I realize that the rule shouldn't really apply in this case, as it is there to ensure that <em> and <strong> are used instead of their

Voice over doesn't read phone number properly

爱⌒轻易说出口 提交于 2019-11-27 22:35:41
问题 I have phone number in below format 1-1xx-2xx-9565 Currently VO read it as " One (pause) One x x (pause) two x x (pause) minus nine thousand five hundred sixty five ". VO should read it as " One (pause) One x x (pause) two x x (pause) nine five six five ". What could be the problem? Is this wrong phone format? 回答1: Let's break down what is happening. VoiceOver doesn't know that the text you are presenting is a phone number and treats it like a sentence of text. In that text it tries to find

Set focus on first invalid input in AngularJs form

拈花ヽ惹草 提交于 2019-11-27 19:11:23
问题 I've read several articles and StackOverflow questions relating to the setting of focus in AngularJs. Unfortunately all the examples that I have read assume that there is some attribute that I can add to the element to gain focus, e.g. a focusMe directive. However what if I don't know in advance which input to set focus to? In particular how do I set focus to the first input element in a form that has $invalid set - i.e. an element that fails validation. There could be several inputs that

Set focus on first invalid input in AngularJs form

爱⌒轻易说出口 提交于 2019-11-27 18:16:22
I've read several articles and StackOverflow questions relating to the setting of focus in AngularJs. Unfortunately all the examples that I have read assume that there is some attribute that I can add to the element to gain focus, e.g. a focusMe directive . However what if I don't know in advance which input to set focus to? In particular how do I set focus to the first input element in a form that has $invalid set - i.e. an element that fails validation. There could be several inputs that fail validation, so I cannot use a directive that just tries to call .focus() based on this. (I am doing

Telephone numbers and screen readers

无人久伴 提交于 2019-11-27 15:11:22
Is there a standard way to make screen readers spell out numbers? I am currently using NVDA and Firefox and have the following telephone number <p>01234 567890</p> This is read as Zero one two three four five hundred and sixty seven thousand eight hundred and ninety This is quite confusing to the listener. I would like some way of specifying that the screen reader should spell out the number like Zero one two three four five six seven eight nine zero I don’t know if (or which) screen readers support these, but (in an ideal world) they should . CSS: Aural CSS 2.1: speak-numeral: digits; Speak

Telephone numbers and screen readers

假如想象 提交于 2019-11-26 17:04:07
问题 Is there a standard way to make screen readers spell out numbers? I am currently using NVDA and Firefox and have the following telephone number <p>01234 567890</p> This is read as Zero one two three four five hundred and sixty seven thousand eight hundred and ninety This is quite confusing to the listener. I would like some way of specifying that the screen reader should spell out the number like Zero one two three four five six seven eight nine zero 回答1: I don’t know if (or which) screen