W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2013

[Bug 22846] New: Wrong error messages when role attribute is used in <input>

From: <bugzilla@jessica.w3.org>
Date: Wed, 31 Jul 2013 11:29:19 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-22846-169@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22846

            Bug ID: 22846
           Summary: Wrong error messages when role attribute is used in
                    <input>
    Classification: Unclassified
           Product: Validator
           Version: HEAD
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5
          Assignee: mike+validator@w3.org
          Reporter: jukka.k.korpela@kolumbus.fi
        QA Contact: www-validator-cvs@w3.org

Example:

<!doctype html><title>Demo</title>
<input role=textbox>

Causes the error message “Element input is missing one or more of the following
attributes: type.”, even though the type attribute has always been optional on
<input>.

Adding the attribute type=text causes a different error message “Attribute role
not allowed on element input at this point”, even though the role attribute is
global (allowed on all elements) in HTML5.

This bug somewhat resembles bug 15910 (which is RESOLVED FIXED, and
appropriately so: that bug is not present now – but it too relates to the role
attribute and might reflect a similar underlying problem).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 31 July 2013 11:29:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:55 UTC