-
-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
mdn/content
#25613Description
All HTML examples should follow best practices.
Media
- All images should include an
altattribute- Create spreadsheet of missing alt attributes
- All images should aslo include a
heightandwidth(newer best practice) - All audio files should have a transcript, captions, and description
- All video files should have a transcript
- Video and audio should have autoplay=off (not sure this is necessary anymore)
Form elements
-
No form control should exist without an associated label
- checkbox
- radio
- hidden
- text
- password
- tel
- number
- color
- range
- date/time
- select
- textarea
-
Every form control should have an
id(except in the rare case where implicit labels are used)- checkbox
- radio
- text
- password
- tel
- number
- color
- range
- date/time
- select
- textarea
-
All
inputelements should include aname(and value if needed)- checkbox (value recommended)
- radio (value required)
- hidden (value required)
- text
- password
- tel
- number
- color
- range
- date/time
- select
- textarea
-
All checkboxes, radio buttons, and hidden input types should also include a
value- checkboxes and radio buttons should be inside
<fieldset>s - [ ]
- checkboxes and radio buttons should be inside
-
HTML docs should be standards compliant
- doctype
-
htmlelement should include alangattribute. -
charset -
title -
viewportmeta
-
Type attribute is NOT needed
- script
- stylesheet
Required attributes, elements, and content
- Ensure
abbrhas atitleattribute unless the abbreviation is preceded or followed by the definition. - Ensure all links have adequate content ("click here" is a no-no).
- Every
<table>should have a table<caption>- in code examples
- in markdown (how is this done?)
Deprecated content
- Most occurrences of
iandbshould be converted toemorstrong, depending on the context #139 - Ensure
acronymis no longer used. - Figure out if
hgroupis back. If no, remove it from all but the essential occurrences
Metadata
Metadata
Assignees
Labels
No labels