I am wondering if one of them is a better rating than the other:
<label>Foo</label>: <label>Bar:</label>
Is one of them better accessible? Does the screen reader read a colon in both cases?
Hi,
Can you use :afterto add a colon using CSS, and then leave only the tag tag that you want to insert in the tag? Could this be better for semantics?
:after
<label>Your label here</label> .label:after { content:":"; }
http://jsfiddle.net/j7cqw6wg/
. , , , . , .
http://webaim.org/techniques/screenreader/
, , "for=" <label>, <input> <label>.
"for="
<label>
<input>
<label for='foo'>my label</label> <input id='foo'/> <label>my label <input/></label>
, .
, , , santialurralde, . , , . ( ), . , .
JAWS, . "" "" "" .. .
Source: https://habr.com/ru/post/1589402/More articles:Resize in portrait mode for iPhone 6 and iPhone 6 plus - iphoneCannot use spring.activemq.broker-url from yaml configuration file - spring-bootHow can I name a table automatically by referring to two cells? - vbaThai year from 2558 to 2015 - c #Mongoose aggregate returns empty result - node.jsbackground-color на встроенных элементах без встроенного дополнения - javascriptChange WPF mouse button background with C # - c # termsCapturing a regex group enclosed / enclosed by a special character - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1589406/getting-methods-to-print-to-a-textarea-in-jpanel&usg=ALkJrhhEbNtFFrtEcYDMwzl6Jlvf3EkDcQEquivalent JavaScript operator in C # - javascriptAll Articles