{"id":1616,"date":"2025-07-08T08:51:37","date_gmt":"2025-07-08T08:51:37","guid":{"rendered":"https:\/\/html5accessibility.com\/stuff\/?p=1616"},"modified":"2025-07-08T13:24:49","modified_gmt":"2025-07-08T13:24:49","slug":"short-note-wcag-aria-state-of-confusion","status":"publish","type":"post","link":"https:\/\/html5accessibility.com\/stuff\/2025\/07\/08\/short-note-wcag-aria-state-of-confusion\/","title":{"rendered":"short note: WCAG\/ARIA &#8211; state of confusion"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1619 size-full\" src=\"https:\/\/html5accessibility.com\/stuff\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-10-171953.jpg\" alt=\"Dr Swallow slowly emerges from his sphere of knowledge to impart sage advice to the sphere of the other\" width=\"1021\" height=\"561\" srcset=\"https:\/\/html5accessibility.com\/stuff\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-10-171953.jpg 1021w, https:\/\/html5accessibility.com\/stuff\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-10-171953-300x165.jpg 300w, https:\/\/html5accessibility.com\/stuff\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-10-171953-768x422.jpg 768w\" sizes=\"auto, (max-width: 1021px) 100vw, 1021px\" \/><\/p>\n<h2>WCAG 4.1.2 Name, Role, Value,\u00a0states<\/h2>\n<blockquote><p>states, properties, and values that <strong>can be set by the user<\/strong> can be\u00a0<a href=\"https:\/\/www.w3.org\/WAI\/WCAG21\/Understanding\/name-role-value.html#dfn-programmatically-set\">programmatically set<\/a><\/p><\/blockquote>\n<h3>Non-geek speak<\/h3>\n<p>If something a person does to a thing causes it to change then the change is reflected in the code<\/p>\n<h3>a person can<\/h3>\n<ul>\n<li>Press something &#8211; <a class=\"state-reference\" href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.3\/#aria-pressed\">aria-pressed<\/a><\/li>\n<li>Check something &#8211; <a class=\"state-reference\" href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.3\/#aria-checked\">aria-checked<\/a><\/li>\n<li>Select something <a class=\"state-reference\" href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.3\/#aria-selected\">aria-selected<\/a><\/li>\n<li>Expand or collapse something &#8211; <a class=\"state-reference\" href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.3\/#aria-expanded\">aria-expanded<\/a><\/li>\n<li>Change the value of a thing <a class=\"property-reference\" href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.3\/#aria-valuenow\">aria-valuenow<\/a>, <a class=\"property-reference\" href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.3\/#aria-valuetext\">aria-valuetext<\/a><\/li>\n<li>Change the order of something <a class=\"property-reference\" href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.3\/#aria-sort\">aria-sort<\/a><\/li>\n<li>Change the validity of something <a class=\"state-reference\" href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.3\/#aria-invalid\">aria-invalid<\/a><\/li>\n<\/ul>\n<h3>a person cannot (in general)<\/h3>\n<ul>\n<li>make something that is required, un-required &#8211; <a class=\"property-reference\" href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.3\/#aria-required\">aria-required<\/a><\/li>\n<li>make something controlled, uncontrolled &#8211; <a class=\"property-reference\" href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.3\/#aria-controls\">aria-controls<\/a><\/li>\n<li>make some not flow to where it flows &#8211; <a class=\"property-reference\" href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.3\/#aria-flowto\">aria-flowto<\/a><\/li>\n<li>stop something being busy &#8211; <a href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.2\/#aria-busy\">aria-busy<\/a><\/li>\n<li>disown something that is owned &#8211;\u00a0<a href=\"https:\/\/www.w3.org\/TR\/wai-aria-1.2\/#desc-aria-owns\">aria-owns<\/a><\/li>\n<\/ul>\n<h3>not user modifiable<\/h3>\n<p>If the value of property cannot be set by the user it is not covered by <a href=\"https:\/\/www.w3.org\/WAI\/WCAG21\/Understanding\/name-role-value.html\">4.1.2 Name, Role, Value (Level A)<\/a>. So when a testing tool or some titular authority figure states that a lack of an <code>aria-controls<\/code> attribute, for example,\u00a0 is a failure of 4.1.2 <strong>it is wrong<\/strong><\/p>\n<h2>Further listening<br \/>\n(for Hidde)<br \/>\n<iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/NZFG1yAxjdQ?si=Z--Fh9dyDIib7Sa7\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/h2>\n","protected":false},"excerpt":{"rendered":"<p>WCAG 4.1.2 Name, Role, Value,\u00a0states states, properties, and values that can be set by the user can be\u00a0programmatically set Non-geek speak If something a person does to a thing causes it to change then the change is reflected in the code a person can Press something &#8211; aria-pressed Check something &#8211; aria-checked Select something aria-selected [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1616","post","type-post","status-publish","format-standard","hentry","category-htmlaccessibility"],"_links":{"self":[{"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/posts\/1616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/comments?post=1616"}],"version-history":[{"count":11,"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/posts\/1616\/revisions"}],"predecessor-version":[{"id":1645,"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/posts\/1616\/revisions\/1645"}],"wp:attachment":[{"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/media?parent=1616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/categories?post=1616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/html5accessibility.com\/stuff\/wp-json\/wp\/v2\/tags?post=1616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}