This HTML5 document contains 451 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
n28https://discourse.mozilla.org/t/input-type-date-readonly/41610.
xhvhttp://www.w3.org/1999/xhtml/vocab#
n27https://cdn.discourse-prod.itsre-apps.mozit.cloud/stylesheets/desktop_theme_17_7a6d976a0a89ef2a22d40c46826ad49bc401c1ce.css?__ws=discourse.mozilla.
n29https://discourse.mozilla.org/opensearch.
foafhttp://xmlns.com/foaf/0.1/
awolhttp://bblfish.net/work/atom-owl/2006-06-06/#
pwdrhttp://www.w3.org/2007/05/powder-s#
n14https://discourse-prod-uploads-81679984178418.s3.dualstack.us-west-2.amazonaws.com/optimized/3X/5/a/5ac4bce89feeb14ade410e749fc38e05e22273fa_2_32x32.
dchttp://purl.org/dc/elements/1.1/
n12https://discourse.mozilla.org/t/input-type-date-readonly/41610#
n17http://ods-qa.openlinksw.com:8896/sparql/
schemahttp://schema.org/
prvhttp://purl.org/net/provenance/ns#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n20https://discourse.mozilla.org/c/
n15https://discourse-prod-uploads-81679984178418.s3.dualstack.us-west-2.amazonaws.com/optimized/3X/4/d/4df49f18a9a1a6adadd5a5132bb0dbb4b9ddf5f9_2_180x180.
opltwhttp://www.openlinksw.com/schemas/twitter#
voidhttp://rdfs.org/ns/void#
n18twitter:
n4http://ods-qa.openlinksw.com:8896/about/id/https/discourse.mozilla.org/t/input-type-date-readonly/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
owlhttp://www.w3.org/2002/07/owl#
n7http://ods-qa.openlinksw.com:8896/about/id/entity/https/discourse.mozilla.org/t/input-type-date-readonly/
n19https://discourse.mozilla.org/u/
n2http://ods-qa.openlinksw.com:8896/proxy-iri/
mdhttp://www.w3.org/1999/xhtml/microdata#
xsdhhttp://www.w3.org/2001/XMLSchema#
n26https://cdn.discourse-prod.itsre-apps.mozit.cloud/stylesheets/desktop_12_52662db0669bb69a9fcf81140fb826c7a9d44f0b.css?__ws=discourse.mozilla.
siochttp://rdfs.org/sioc/ns#
n5https://discourse.mozilla.org/t/input-type-date-readonly/
Subject Item
n5:41610
rdf:type
schema:CreativeWork n5:WebSite
owl:sameAs
n12:this
n5:alternate
n28:rss
n5:apple-touch-icon
n15:png
n5:canonical
n5:41610
n5:description
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 elem…
n5:generator
Discourse 2.4.0.beta6 - https://github.com/discourse/discourse version d43e7354ec43232196ebdfb13f8c5c9e2bddaf43
n5:google-site-verification
D7SmdK0xQe6YM1n90OgKmHMhw3rPglVimnPjVoxG_FM aJHtdt0Dx0kV5nVjPVYjjt4D1FUY-dMQH1XtgHNAkqQ t3OXbAnBhDID5loRpNRgaaBOfOE7W7-Kh04-3dyKgVs
n5:icon
n14:png
n5:search
n29:xml
n5:stylesheet
n26:org n27:org
n5:theme-color
#ffffff
n5:viewport
width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes, viewport-fit=cover
pwdr:describedby
n4:41610
foaf:topic
dc: schema: schema:title foaf: n2:c2aca7632465201f0b86299f596764447dcd4efb n2:4ba55a221ae2e8465e31596712315f991b03c2e8 n2:748cc8049b815fc919fcd147bbd99f503e66a604 n2:1fe3ec1070425b580f6dcdb5023f2d6d70e60adc n2:91438961fa11b30dd283bd6a19a6788387ceacef n2:8ef609f2c5a2d56fc4628b90ef118ba84b2bb625 n2:8a38af93cc361e0b0afb13ea2f80f830142745d5 n2:0fa74e8eb555a6447732e808f91ac891b54d5baf n2:f05f6bdaf99c5a4b7f9c87f4cfc14ec79583cfdb n12:DataCreation n12:rdf_load_json n2:597a2e324c739e1cfbb956e37ddbefd226b19155 schema:name n2:538f0247e1149f30a99d075d5fb0a8923a3dc2cc n2:d454cb71484f25ceb5295865c9b98362f552a0f1 n2:ff9bc33ea8cb3d7fa65b4814ab043cbd9194d8d7 n2:b8bd0a0765790f7001440ee2d4c5496c89d16f68 n2:a40dc03cc3195b8f87f8b3d1ac65b15022061c95 n2:da27b7c7e37c01b1972ea836ac60fea049627e78 n2:41a4451c450d62bb1835f10f9d22cdaf355845c3 n2:efd1c388bbfffc458824688f976cc809f76df1c0 n12:interactionType n12:userInteractionCount n12:interactionStatistic schema:headline schema:position owl: schema:author n2:27f2bc8ccc5b81d182b5158fb016e9acc6129748 n2:50e81c74f240e887dc330fc662d0326bf99c85b4 n2:bc5565860217511b4db39536b95e5e7a33416df2 n2:ee3ca89888eba2b0c62debaff19f867cf5a2d9e5 n2:bc377e77ef4a104eef924371c83ad163151e4601 n2:7cf289202dd7288deac376730090b8b75c3eb91e n2:3ff7b0f2b3dc8fed2ee60a9a3f09d86a0b24a588 n2:6f720364b627cfd413f24f54d33d6de06310ee1f n2:e92d964c05759e2c1b8d8cd862b76c6de24e430f n2:f20cd9b7c2861d375c4b7a7ee9c6e0fa08051901 n2:5bde55e23c3919560e22e65b8a47cf532d316e3b n2:ab46ce597fc2762b5571ae42ad12e3e254220152 n2:c8875d2dc1ea0ef04b81c781b6c009a5ba2fc317 n2:06be159aec7c4b0a3bbb6156f9b607f8d151d27c _:vb732798 n2:c1acff0b6e69f678dcad12a7b4e7513ca67b3827 _:vb732799 _:vb732796 schema:articleBody n2:94ac76c2782d6934daa5609bf6bda485d5da524f _:vb732797 _:vb732794 _:vb732795 n2:c6080174fac741b764a312c2ec0a9a90d89e6dee _:vb732792 _:vb732793 n2:120d3c485c6971e89265e38b51279bce6eb5ec7d n2:f27e1c9566394c568a80bb086cde7968aeb8e0d7 n2:fe7a50f51a32334c48de6c43ebb1e179985e5ace n2:6a2f73ec42a75aaf1ab42b7cde36114282098653 n2:dda2643cdc642fc4a6142730af91195bcd21167f n2:64672183d43dd0d76e17e8d631d1e3c45c7c0cfc n2:6ee3723dd5668808c4c7c7a3d9207709cb320966 n2:14e8ea686ac6d04d0be77d17c0a558c1e3c539f3 n2:0bfeef14c3cba91eb71ba018d935aab909d841f7 _:vb732814 n2:67ea5b27c3904dd640c51bd1541ceb9c0929ce13 _:vb732815 n2:b38fdfefc134b54049d3b5192ff94985e4f67d3f _:vb732812 n2:5d5d111004f5019f08ce63a3214e3112cbf9a837 _:vb732813 n2:66aa3e36a88a52609375c832e3ec2d7d89a7c5 _:vb732810 n2:7634468a1185c7bb7176a4bd078fa07ee14807e1 _:vb732811 n2:51ffcdf95fe7dd2802aa7fb91773409c00c9bdd0 _:vb732808 n2:ce3ac25e9ad90b54e273a392873d070085871938 _:vb732809 n2:f25cec3b8f670fcd76016d60b3271b48ea874f2f _:vb732806 n2:37e991fc13430037d1b0b742e877138a6aa3d8d7 _:vb732807 n2:34041683ce641b83cd73f08785f682e8b9c7c19b _:vb732805 n2:f371130e44b0268064cdfcd5ecf463e212a0021b _:vb732802 n2:882d84c2fd57654927dab42156ecd24de2eb942a n2:64f8c93f80d16d31f9e7b0bb8126c86c006f821b _:vb732800 n2:9dd851b22a524ce82c183f39edc1546fc77ce4d2 _:vb732801 n2:2d95e407dfb1f9bf9c0a00e260778762405234b4 n2:556be8a614895c0667b10adcc94e33d7496e8e59 n2:a45e5c69c81998eb539afaa7bd43c120585fc502 n2:7850972295c5adab79ff9285b9b1df277f63c1fe n2:78ceeb122b1804a16ca5dd0b2fa64f02e6f8848c n2:bfcb81131834512e2fb6c88ed3de5dd0ff834e9b n2:2a744a8d4df363572ad954a5b4069f45b94048d0 n2:ae208ee33a2e6b6f059ff1e861bfbdef168ba99b n2:ec77cbb462112eb62c4281f1a8a06eab24698e29 n2:c0948f639078d888f2f9b41cd841febf20356320 n2:85731d3850d8f425d8edef8d5bf40efaa1ce528c n2:5119b7530cea8c80a3e06b50871566f2197e3992 n2:6ba28d8bf23cb046cce5c6453732d9bfc8935fe9 n2:a659502c422e160e2531df0414506986001742a9 n2:8a510b235a72587d28ab4e98827b886bf7d1295e _:vb732816 n2:61f21e84d27e38a8ee1a876393fa70b4e789d268 _:vb732817 n2:9b2b2f27964382ca3ee5d5ea9ec0ff056920a772 n2:33a070d6914c3458665f8aa24979cb37aa20c2ef n2:867cd2a8f371ec47d994a4061ec0231d59439652 n2:adabc601993b26632bc4eeff5778834568622dce n2:663d54d4b80039ab4471ff17ced499fa427f26c1 n2:3f92e0d9d1887b14c97c5ee9a7594dc74f620ef7 n2:8617d6cf546cde951d0eef4a5b813b759b5b67cd n12:rdf_load_htmlvxc_provenance n2:01d137a4a0666cf3b2f30e6d24931240a215c19a n2:4460a4602728d14727676f82c70b744ae01cadad n2:b9009ea42ec32a0ae175d35b2cf937808f83b8b7 schema:datePublished n2:80bb2f07befac1957dffd4796044cb4685980673 opltw: n2:ef75ceb6ee329a41574130039a33e13c260aeb6d n2:84383fdcb1519d38214577d11ea34c05dbaccbe1 n12:this n2:c1bff4056ad56333c7053464b6329fbb587f17b8 n2:18df498b70afa95d016fbbaa6798d62ef19f0273 n2:35e30d5cc7241eb95c5206113884213d177c4ff4 n2:2b92ef3c29a49dc93c13559dd7ea0514ddce737c n2:d1c3b5a5de56f343f0142ed42ec96190e4483f31 n2:75d3b278480710c6541c6a2ec67bb68e9284845f n2:3e99df47be73d7bbc451c1f1e7a369dfe0eef6d5 n2:a082b0d2c74ae497805be708c03937e6bf6f9d99 n2:d92fa82f88212ba2df5aab4011d7db2775d5b81c n2:3710c6b12af93c07be7704d31664b5988572fa44 sioc: rdfs: rdf: awol: xhv: n2:28755341704690fe891eb3376bfd07931535c0f0 n2:5ba00d4fb04b10e7d1ee06e647a33f3dce07acdc n2:0145f0a3bbe384ae3c874af4ec2777797f5180d0 n2:17100efbc0f41ceb2d0c9408b6f79a019b80ce8c n2:07b974ffe5737c4507bce6362827f95ff01f2ecc n2:c0d6d7727131742a7a7bc593a8babf746808654a n2:4191c2ff4d88c1495d2711c6dbd4f5d390935213 n2:b97937f1eaac6b6e5f7911ec2ea2d87dc41cfab5 n2:84dfd49d562c7405caed9b88685cc4504cf6e830 n2:25718ae391b07d4dca5e32d231113e6d5c199e83 n2:6c44559a0a20652e77ed3140a36c1c1272f176ad n2:648e1026c22befff9b8ebd547aeb26f4ed6dfad8 n2:aeb75c55aaf0068b645ffa2837a84f57c6576f3d n2:9b8fda2dbe4d22641ed7d530e257ac9e93e84905 n2:4c385da5b3dac325dcb5d6ed7daae0484d6ebb2f n2:148b89750b21f698eea804405d10a01a9202c07c n2:48bb04011a0d808f5624fe4adbe8a27bdc691d8f n2:13f6fdd4cead69d2cd76ffb38cbf4428d4cf52c9 n2:f5248c1e8d705d0a7dc56e40787cf4a896d4ec90 n2:c57e3a12b5c86d367778d71b89a4ef61bc35ad77 n2:2a35f5776a7781c13c0bd89cf9908e45e1183438 n2:6afa734bfd9003f3cd510313a2cc15cfc54dd19c n2:4a0e840a8ab6f6b2b06bbb3e7dc9a78ae7688841 n2:004def8e9858f756f3bcfefadbebb10b30060bfa n2:d95cedbfda2b488c731de4aab3cd2d921b2f15b9 n2:414929eb5a07a1098f8b236caf70aab016b3e4c8 n2:94e13d7175faab3354c31c2ce056b2bfced129d2 n2:a2e30a121813598460f3b770fcbf1733841713d4 n2:8f7883ca923648dd6f4ed305dde14e8acaa7e450 n2:8e8b0126f3eac08e3acdfff5ff09e122d1508326 n2:d7bc17d4b9dd60b30796c0095419a5d74429f376 n2:bb0e79d6a7f4912d93448425f22610af5e9c9edc n2:ffd74f2760061a96799bf11336e0fb09ef0f7082 n2:cd32fd3ab32f91b08762205451762623d3bef0c6 n2:bbdfa32616ebee8aace222691bf716e3d25ac7e4 n2:b57a6901d7b5ecd55e700e7b9dfb80a4662bc3b4 n2:0b0252d51693d44da2cf4467053463eaf09b9834 n2:e0df2a0b85c29d64b134650194e8a092b7ba28ac n2:46a1bcdbd4ab5167a4410f74158274d247708edb n2:d5d768893c17fbf4ca6015cd3547ff79164a5cc9 n2:02cafe085982694dea28e930b4f961791214a952 n2:843f25989c693ea7b990946b6935ce38b47ec9a2 n2:0406af03f434ad7293eeb4597472cef13194a907 n2:5096a2906728ad43bff43391215ce1e7a0e16857 n2:15a74425eef1196a53c4f32459e8603dfea76409 n2:32ac4360d0b025424d03ef243fc24834272429a3 n2:b146477fdd277e436581bd106108390dd23bbb5f n2:cbb09c4a8e999ee4f825eab72862326721665045 n2:6191098616f426c12000c711ac00c3fda71d8d5e n2:253a88c478f35fdb0aed54c033bf5d8405299378 n2:6091eeeee20a2897ac100b832c7757ef1e095eaf n2:19d8f5706b2d6d6abb5d5244847bcbfa2d88537d n2:858fab7283508fbb36a5ab1cb6dfa5d774978e17 n2:31daa0c3e0283c6d836026fb69608518596997e6 n2:57d64532958e3902055359a3936b9e379fa10e8d n2:85bce45bdd5d59d5778ea1ebc82787f8bb19effd n2:eebeec219724265b467ebd0c24bcab75e6e582b0 n2:44c1dd6b929d80f3f2c84b37e02d817c2b4a63f9 n2:0e868de9b88ca38aa6003425d914323749f07a7d n2:055e11d53fac9557418616aa5de33bb136f3783e n2:35d27918f5906cff72c4156146ee747375f648ca n2:1f905715a04421d605abbafd3f83508500c1c063 n2:eb13a9a95ba63be0f625f695bbd683b1cd56ddc8 n2:72e6548a0e9a86c82f921415aaad460dfb7be095 n2:bef7c00745b6faf1ea031ff65fbd841ee5758513 n2:c66b1a351bf61a631980a63520cf86222f88865e n2:b6c6b7e8ce339f3fdee3ec6000333c98eabf6530 n2:3328e17c523c8bb69eb36ad3f5fe0f0aa2db225b n2:db0f22b557c3b2f9b716bc599e2ad239fbc387f5 n2:64f1a8b1b531cce21725d406f1d28ba4c2f335a1 schema:url n2:095d321c91010fb91780936d8c62f292c14cf218 n2:496d883c19a28edc50f0b51ce3b4bc39130e820b n2:1c90bda3db0869cbdd1f51fda1d41d067c8e63ee n2:331711374911a99779cd924ef9d6b3253cf226e1 n2:cd4ecc655d616e2a7ba83f9536ac4e3990fbc853 n2:c863af22bda447c40cfab8616cac472087180c5d n2:e2a117f722cf8b3e51ae5c12613c4e107a6c99a4 n2:43840f8b2fb47ff54c28ff5724f0f4a810beb504 n2:aa8c924d24cceb9898ca1908d9597abc571db537 n2:62249805da6366e5fd1b1fdbc47b6a32aee1699c n2:a9f959f644070c5a0ac6663cbf4539f0b043d2e1 n2:093cbe2ec74b010d7c3eb5bbb5562a8d8b8894ab n2:bb209b8524718f8a07106e136f3f01e0974195e2 n2:eb15424d60917906c9a8b7178763f2f78237cbd6
schema:mainEntity
n7:41610
schema:potentialAction
n2:597a2e324c739e1cfbb956e37ddbefd226b19155
md:item
_:vb732798 _:vb732799 _:vb732796 _:vb732797 _:vb732794 _:vb732795 _:vb732792 _:vb732793 _:vb732814 _:vb732815 _:vb732812 _:vb732813 _:vb732810 _:vb732811 _:vb732808 _:vb732809 _:vb732807 _:vb732802 _:vb732800 _:vb732801 _:vb732816 _:vb732817
n18:card
summary
n18:description
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 ...
n18:image
https://discourse-prod-uploads-81679984178418.s3.dualstack.us-west-2.amazonaws.com/original/3X/1/e/1e9bf330a7eb757e98e400cdc695a6037f2ce9a0.png
n18:title
<input type='date' readonly>
n18:url
https://discourse.mozilla.org/t/input-type-date-readonly/41610
void:sparqlEndpoint
n17:
schema:url
n5:41610 https://discourse.mozilla.org
Subject Item
n2:d454cb71484f25ceb5295865c9b98362f552a0f1
rdf:type
rdf:Statement
rdfs:label
Embedded JSONLD-in-HTML Statement 16
pwdr:describedby
n7:41610 n4:41610
rdf:object
n2:597a2e324c739e1cfbb956e37ddbefd226b19155
rdf:predicate
schema:potentialAction
rdf:subject
n5:41610
Subject Item
n2:ff9bc33ea8cb3d7fa65b4814ab043cbd9194d8d7
rdf:type
rdf:Statement
rdfs:label
Embedded JSONLD-in-HTML Statement 17
pwdr:describedby
n7:41610 n4:41610
rdf:object
https://discourse.mozilla.org
rdf:predicate
schema:url
rdf:subject
n5:41610
Subject Item
n2:538f0247e1149f30a99d075d5fb0a8923a3dc2cc
rdf:type
rdf:Statement
rdfs:label
Embedded JSONLD-in-HTML Statement 18
pwdr:describedby
n4:41610 n7:41610
rdf:object
n5:WebSite
rdf:predicate
rdf:type
rdf:subject
n5:41610
Subject Item
n2:3f92e0d9d1887b14c97c5ee9a7594dc74f620ef7
rdf:type
rdf:Statement
rdfs:label
Embedded JSONLD-in-HTML Statement 19
pwdr:describedby
n4:41610 n7:41610
rdf:object
n5:41610
rdf:predicate
prv:accessedService
rdf:subject
_:vb732805
Subject Item
n2:8617d6cf546cde951d0eef4a5b813b759b5b67cd
rdf:type
rdf:Statement
rdfs:label
Embedded JSONLD-in-HTML Statement 20
pwdr:describedby
n4:41610 n7:41610
rdf:object
2019-11-18T12:32:17.503654
rdf:predicate
prv:performedAt
rdf:subject
_:vb732805
Subject Item
n2:adabc601993b26632bc4eeff5778834568622dce
rdf:type
rdf:Statement
rdfs:label
Embedded JSONLD-in-HTML Statement 21
pwdr:describedby
n4:41610 n7:41610
rdf:object
n12:spongerInstance
rdf:predicate
prv:performedBy
rdf:subject
_:vb732805
Subject Item
n2:663d54d4b80039ab4471ff17ced499fa427f26c1
rdf:type
rdf:Statement
rdfs:label
Embedded JSONLD-in-HTML Statement 22
pwdr:describedby
n4:41610 n7:41610
rdf:object
prv:DataAccess
rdf:predicate
rdf:type
rdf:subject
_:vb732805
Subject Item
_:vb732792
rdf:type
http://data-vocabulary.org/Breadcrumb
pwdr:describedby
n7:41610
title
MDN
url
Subject Item
_:vb732793
rdf:type
http://schema.org/DiscussionForumPosting
author
pwdr:describedby
n7:41610
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.”.
headline
<input type='date' readonly>
position
#1
datePublished
interactionStatistic
_:vb732796 _:vb732795
Subject Item
_:vb732794
rdf:type
http://schema.org/Person
pwdr:describedby
n7:41610
name
jamesalancobban
url
Subject Item
_:vb732795
rdf:type
http://schema.org/InteractionCounter
pwdr:describedby
n7:41610
interactionType
http://schema.org/LikeAction
userInteractionCount
0
Subject Item
_:vb732796
rdf:type
http://schema.org/InteractionCounter
pwdr:describedby
n7:41610
interactionType
http://schema.org/CommentAction
userInteractionCount
0
Subject Item
_:vb732797
rdf:type
http://schema.org/DiscussionForumPosting
author
pwdr:describedby
n7:41610
articleBody
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
<input type='date' readonly>
position
#2
datePublished
interactionStatistic
_:vb732799 _:vb732800
Subject Item
_:vb732798
rdf:type
http://schema.org/Person
pwdr:describedby
n7:41610
name
chrisdavidmills
url
Subject Item
_:vb732799
rdf:type
http://schema.org/InteractionCounter
pwdr:describedby
n7:41610
interactionType
http://schema.org/LikeAction
userInteractionCount
0
Subject Item
_:vb732800
rdf:type
http://schema.org/InteractionCounter
pwdr:describedby
n7:41610
interactionType
http://schema.org/CommentAction
userInteractionCount
0
Subject Item
_:vb732801
rdf:type
http://schema.org/ItemList
pwdr:describedby
n7:41610
Subject Item
_:vb732802
rdf:type
http://schema.org/SiteNavigationElement
pwdr:describedby
n7:41610
name
Terms of Service Home Privacy Policy FAQ/Guidelines Categories
Subject Item
_:vb732805
rdf:type
prv:DataAccess
pwdr:describedby
n4:41610 n7:41610
prv:performedAt
2019-11-18T12:32:17.503654
prv:performedBy
n12:spongerInstance
prv:accessedService
n5:41610
Subject Item
_:vb732806
rdf:type
prv:DataAccess
pwdr:describedby
n4:41610 n7:41610
prv:performedAt
2019-11-18T12:32:17.503654
prv:performedBy
n12:spongerInstance
prv:accessedService
n5:41610
Subject Item
_:vb732807
rdf:type
http://data-vocabulary.org/Breadcrumb
pwdr:describedby
n7:41610
title
MDN
url
Subject Item
_:vb732808
rdf:type
http://schema.org/DiscussionForumPosting
author
pwdr:describedby
n7:41610
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.”.
headline
<input type='date' readonly>
position
#1
datePublished
interactionStatistic
_:vb732810 _:vb732811
Subject Item
_:vb732809
rdf:type
http://schema.org/Person
pwdr:describedby
n7:41610
name
jamesalancobban
url
Subject Item
_:vb732810
rdf:type
http://schema.org/InteractionCounter
pwdr:describedby
n7:41610
interactionType
http://schema.org/LikeAction
userInteractionCount
0
Subject Item
_:vb732811
rdf:type
http://schema.org/InteractionCounter
pwdr:describedby
n7:41610
interactionType
http://schema.org/CommentAction
userInteractionCount
0
Subject Item
_:vb732812
rdf:type
http://schema.org/DiscussionForumPosting
author
pwdr:describedby
n7:41610
articleBody
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
<input type='date' readonly>
position
#2
datePublished
interactionStatistic
_:vb732814 _:vb732815
Subject Item
_:vb732813
rdf:type
http://schema.org/Person
pwdr:describedby
n7:41610
name
chrisdavidmills
url
Subject Item
_:vb732814
rdf:type
http://schema.org/InteractionCounter
pwdr:describedby
n7:41610
interactionType
http://schema.org/LikeAction
userInteractionCount
0
Subject Item
_:vb732815
rdf:type
http://schema.org/InteractionCounter
pwdr:describedby
n7:41610
interactionType
http://schema.org/CommentAction
userInteractionCount
0
Subject Item
_:vb732816
rdf:type
http://schema.org/ItemList
pwdr:describedby
n7:41610
Subject Item
_:vb732817
rdf:type
http://schema.org/SiteNavigationElement
pwdr:describedby
n7:41610
name
Terms of Service Home Privacy Policy FAQ/Guidelines Categories