Skip to content

Webforms: Attribute “size” not allowed on element “input” #963

@kmcguffey2

Description

@kmcguffey2

Number fields in webforms are showing the error 'Attribute “size” not allowed on element “input” at this point' in Web Audit.
Ex: https://webaudit.unl.edu/sites/835/pages/10622556/

I think the input should have a 'maxlength' attribute instead of size: https://www.w3schools.com/tags/att_input_size.asp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions