• The required attribute should be present when element is required, but its not. Yes, there is aria-required but its not compatible with :required psuedo class. Makes it so much harder to accurately style when required fields are not filled in.

    I’d love this small tweak to have required attribute on all fields when selecting required on the field.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    This plugin doesn’t set the required attribute because it doesn’t rely on the browser’s built-in validator for frontend validation.

    Thread Starter jonte98

    (@jonte98)

    It would be great if the option was there. Styling the form errors will be so much easier.

    The behavior and semantics of the two “required” attributes are different. It’s not just about the styling. reqired is the modern html5 attribute, aria-requird is not html5-conform…

    The user should be able to decide for himself which variant he uses, perhaps via an additional setting.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Missing attribute’ is closed to new replies.