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

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