unlcms / UNL-CMS

Drupal 7 implementation at the University of Nebraska–Lincoln
http://unlcms.unl.edu/
GNU General Public License v2.0
4 stars 13 forks source link

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

Open kmcguffey2 opened 3 years ago

kmcguffey2 commented 3 years ago

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