[icinga-checkins] icinga.org: icingaweb2/master: WCAG/1.4.1: Fix example for text cues on a form's required elements

git at icinga.org git at icinga.org
Thu Feb 12 09:12:10 CET 2015


Module: icingaweb2
Branch: master
Commit: 60ec1157797623acfeb8e1b67d3d1cc0906e867b
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=60ec1157797623acfeb8e1b67d3d1cc0906e867b

Author: Johannes Meyer <johannes.meyer at netways.de>
Date:   Wed Feb 11 08:46:57 2015 +0100

WCAG/1.4.1: Fix example for text cues on a form's required elements

The input element must be wrapped by <label> either or the <label> tag
needs a "for=id" attribute with the id of the respective input.

refs #7934

---

 doc/accessibility/text-cue-for-required-form-control-labels.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/accessibility/text-cue-for-required-form-control-labels.html b/doc/accessibility/text-cue-for-required-form-control-labels.html
index b9e6242..1dd38eb 100644
--- a/doc/accessibility/text-cue-for-required-form-control-labels.html
+++ b/doc/accessibility/text-cue-for-required-form-control-labels.html
@@ -28,8 +28,8 @@
             Enter some text
             <span class="required-indicator" aria-hidden="true"></span>
             <span class="sr-only"> (required)</span>
+            <input type="text" name="some_text" value="" aria-required="true" required>
         </label>
-        <input type="text" name="some_text" value="" aria-required="true" required>
         <input type="submit" name="btn_submit" value="Submit">
     </form>
 </body>



More information about the icinga-checkins mailing list