Not logged in : Login

About: http://ods-qa.openlinksw.com:8896/proxy-iri/33a070d6914c3458665f8aa24979cb37aa20c2ef     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : schema:DiscussionForumPosting, within Data Space : ods-qa.openlinksw.com:8896 associated with source document(s)

AttributesValues
type
datePublished
publisher
described by
image
  • External Image
mainEntityOfPage
author
position
  • #1
  • #2
dateModified
  • 2019-06-24T13:29:27Z
articleBody
  • The page describing the use of input type=‘date’ describes readonly as if it was a special attribute relevant to type=‘date’, like the min and max attributes, rather than as a global attribute applicable to all form elements. Also this description includes a paragraph which is repeated elsewhere on the site: Note: Because a read-only field cannot have a value, required does not have any effect on inputs with the readonly attribute also specified. But of course read-only fields can and almost always do have a value, but that value cannot be modified by the user. This paragraph should read “The required attribute is not permitted on inputs with the readonly attribute specified.” The browser should log a diagnostic warning thatrequired, and all of the other constraint attributes, is ignored for input elements which have readonly because the HTML5 standard says “if the readonly attribute is specified on an input element, the element is barred from constraint validation.”.
  • Hi @jamesalancobban, Thanks for posting this. I think you are right — we shouldn’t mention readonly as a special attribute on certain pages, as it is global. To this end, I’ve deleted the mentions on https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local and left the explanation to the readonly section on the main page: MDN Web Docs : The Input (Form Input) element The HTML input element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent. I added the note about required/readonly there as well.
headline
interactionStatistic
is topic of
is container of of
is object of
is subject of
Faceted Search & Find service v1.17_git55 as of Mar 01 2021


Alternative Linked Data Documents: ODE     Content Formats:       RDF       ODATA       Microdata      About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3322 as of Mar 14 2022, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (7 GB total memory)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software