openwebdocs / project

project documentation, policies & meeting minutes
http://openwebdocs.org
Creative Commons Zero v1.0 Universal
359 stars 42 forks source link

Project: HTML best practices #115

Closed estelle closed 1 year ago

estelle commented 2 years ago

All HTML examples should follow best practices.

Media

Form elements

Required attributes, elements, and content

Deprecated content

Seirdy commented 2 years ago

Figure out if hgroup is back. If no, remove it from all but the essential occurrences

hgroup does seem to be back; a change to the HTML Living Standard now clarifies that it can define a subtitle.

See https://github.com/whatwg/html/pull/7829

Rumyra commented 2 years ago

@estelle the HTML guidelines are here https://developer.mozilla.org/en-US/docs/MDN/Writing_guidelines/Writing_style_guide/Code_style_guide/HTML if you wanted to update to reflect your changes above 👍

nschonni commented 2 years ago
  • All images should include an alt attribute

I turned back on the MD045 rule to see how many were left, since I think there has already been a bunch of cleanup

files/en-us/learn/common_questions/what_are_browser_developer_tools/index.md:145 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/forms/advanced_form_styling/index.md:153 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/forms/advanced_form_styling/index.md:154 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/forms/advanced_form_styling/index.md:155 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/forms/advanced_form_styling/index.md:156 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/forms/advanced_form_styling/index.md:157 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/forms/advanced_form_styling/index.md:158 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/getting_started_with_the_web/publishing_your_website/index.md:73 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/html/introduction_to_html/getting_started/index.md:65 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/html/tables/structuring_planet_data/index.md:66 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/client-side_web_apis/manipulating_documents/index.md:47 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/client-side_web_apis/manipulating_documents/index.md:79 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/client-side_web_apis/manipulating_documents/index.md:267 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/client-side_web_apis/third_party_apis/index.md:196 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/client-side_web_apis/third_party_apis/index.md:390 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/first_steps/silly_story_generator/index.md:62 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/first_steps/variables/index.md:99 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/first_steps/what_went_wrong/index.md:64 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/first_steps/what_went_wrong/index.md:87 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/first_steps/what_went_wrong/index.md:114 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/objects/adding_bouncing_balls_features/index.md:59 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/objects/json/index.md:198 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/javascript/objects/object_building_practice/index.md:50 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/performance/measuring_performance/index.md:90 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/performance/measuring_performance/index.md:94 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/server-side/express_nodejs/forms/delete_author_form/index.md:178 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/server-side/express_nodejs/forms/delete_author_form/index.md:188 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/server-side/express_nodejs/forms/delete_author_form/index.md:193 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/server-side/express_nodejs/forms/update_book_form/index.md:216 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/server-side/express_nodejs/routes/index.md:54 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/accessibility/index.md:129 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/accessibility/index.md:223 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/accessibility/index.md:306 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/accessibility/index.md:334 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/automated_testing/index.md:325 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/automated_testing/index.md:405 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/automated_testing/index.md:407 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/automated_testing/index.md:492 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/automated_testing/index.md:496 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/automated_testing/index.md:504 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/automated_testing/index.md:710 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/javascript/index.md:87 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/javascript/index.md:101 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/javascript/index.md:115 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/javascript/index.md:194 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/javascript/index.md:204 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/javascript/index.md:347 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/testing_strategies/index.md:124 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/testing_strategies/index.md:153 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/testing_strategies/index.md:235 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/testing_strategies/index.md:247 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/testing_strategies/index.md:253 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/your_own_automation_environment/index.md:602 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/your_own_automation_environment/index.md:666 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/your_own_automation_environment/index.md:728 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/learn/tools_and_testing/cross_browser_testing/your_own_automation_environment/index.md:796 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/add_a_button_to_the_toolbar/index.md:53 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/add_a_button_to_the_toolbar/index.md:57 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/anatomy_of_a_webextension/index.md:28 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/contextualidentities/index.md:16 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/devtools/panels/elementspanel/createsidebarpane/index.md:25 MD045/no-alt-text Images should have alternate text (alt text)        
files/en-us/mozilla/add-ons/webextensions/api/devtools/panels/extensionsidebarpane/index.md:20 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/find/find/index.md:96 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/find/find/index.md:98 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/find/find/index.md:227 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/menus/index.md:43 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/menus/index.md:49 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/menus/index.md:53 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/menus/index.md:59 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/notifications/index.md:20 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/pageaction/index.md:19 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/pkcs11/index.md:30 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/pkcs11/index.md:32 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/proxy/register/index.md:20 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/proxy/unregister/index.md:19 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/userscripts/working_with_userscripts/index.md:45 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/userscripts/working_with_userscripts/index.md:106 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/webnavigation/index.md:23 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/api/webrequest/index.md:21 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/browser_actions/index.md:11 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/extending_the_developer_tools/index.md:123 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/native_messaging/index.md:21 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/user_interface/browser_action/index.md:10 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/user_interface/context_menu_items/index.md:17 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/user_interface/notifications/index.md:11 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/user_interface/page_actions/index.md:14 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/user_interface/popups/index.md:14 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/user_interface/sidebars/index.md:15 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/what_are_webextensions/index.md:16 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/what_are_webextensions/index.md:22 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/what_are_webextensions/index.md:28 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/what_are_webextensions/index.md:34 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/what_are_webextensions/index.md:44 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/your_second_webextension/index.md:29 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/your_second_webextension/index.md:401 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/your_second_webextension/index.md:403 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/add-ons/webextensions/your_second_webextension/index.md:405 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/mozilla/firefox/releases/3.5/icc_color_correction_in_firefox/index.md:15 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/canvas_api/tutorial/drawing_shapes/index.md:22 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/canvas_api/tutorial/drawing_shapes/index.md:305 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/canvas_api/tutorial/transformations/index.md:85 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/canvas_api/tutorial/transformations/index.md:127 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/canvas_api/tutorial/using_images/index.md:206 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/canvasrenderingcontext2d/clip/index.md:25 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/canvasrenderingcontext2d/createlineargradient/index.md:21 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/canvasrenderingcontext2d/linejoin/index.md:34 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/canvasrenderingcontext2d/rotate/index.md:25 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/canvasrenderingcontext2d/translate/index.md:29 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/channel_messaging_api/using_channel_messaging/index.md:40 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/channelmergernode/index.md:18 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/channelsplitternode/index.md:20 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/console/index.md:165 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/console/index.md:235 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/console/index.md:259 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/console/table/index.md:42 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/console/table/index.md:57 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/console/timeend/index.md:54 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/console/timelog/index.md:76 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/css_object_model/determining_the_dimensions_of_elements/index.md:24 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/css_object_model/determining_the_dimensions_of_elements/index.md:30 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/document_object_model/traversing_an_html_table_with_javascript_and_dom_interfaces/index.md:140 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/document_object_model/traversing_an_html_table_with_javascript_and_dom_interfaces/index.md:197 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/document_object_model/traversing_an_html_table_with_javascript_and_dom_interfaces/index.md:225 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/document_object_model/traversing_an_html_table_with_javascript_and_dom_interfaces/index.md:238 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/document_object_model/traversing_an_html_table_with_javascript_and_dom_interfaces/index.md:256 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/document_object_model/traversing_an_html_table_with_javascript_and_dom_interfaces/index.md:264 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/document_object_model/using_the_w3c_dom_level_1_core/index.md:31 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/document_object_model/whitespace/index.md:269 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/element/clientheight/index.md:36 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/element/clientwidth/index.md:33 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/element/getboundingclientrect/index.md:53 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/element/mouseenter_event/index.md:100 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/element/mouseenter_event/index.md:105 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/element/mouseleave_event/index.md:96 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/element/mouseleave_event/index.md:102 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/element/scrollheight/index.md:19 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/htmlelement/offsetheight/index.md:39 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/htmlelement/offsetleft/index.md:39 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/htmlelement/offsetwidth/index.md:37 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/navigator/registerprotocolhandler/web-based_protocol_handlers/index.md:40 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/notifications_api/index.md:32 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/notifications_api/using_the_notifications_api/index.md:21 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/presentation_api/index.md:17 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/service_worker_api/using_service_workers/index.md:42 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/service_worker_api/using_service_workers/index.md:52 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/service_worker_api/using_service_workers/index.md:108 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/service_worker_api/using_service_workers/index.md:161 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/stereopannernode/index.md:20 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/streams_api/concepts/index.md:25 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/streams_api/concepts/index.md:47 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/streams_api/index.md:30 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/textdecoder/index.md:24 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/web_audio_api/basic_concepts_behind_web_audio_api/index.md:390 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/web_audio_api/basic_concepts_behind_web_audio_api/index.md:394 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/web_storage_api/using_the_web_storage_api/index.md:103 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/web_storage_api/using_the_web_storage_api/index.md:107 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/webgl_api/matrix_math_for_the_web/index.md:275 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/webvr_api/using_the_webvr_api/index.md:41 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/webvr_api/using_the_webvr_api/index.md:237 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/webxr_device_api/fundamentals/index.md:51 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/window/personalbar/index.md:26 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/window/statusbar/index.md:52 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/xrwebgllayer/getnativeframebufferscalefactor/index.md:100 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/api/xrwebgllayer/getnativeframebufferscalefactor/index.md:146 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/guide/css/getting_started/challenge_solutions/index.md:231 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/guide/mobile/separate_sites/index.md:24 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/guide/user_input_methods/index.md:21 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/compression/index.md:38 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/compression/index.md:44 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/compression/index.md:54 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/compression/index.md:58 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/connection_management_in_http_1.x/index.md:78 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/content_negotiation/index.md:20 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/content_negotiation/index.md:33 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/content_negotiation/index.md:106 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/cors/index.md:26 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/cors/index.md:110 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/cors/index.md:173 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/cors/index.md:306 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/http/redirections/index.md:24 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/javascript/guide/introduction/index.md:92 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/javascript/reference/global_objects/math/index.md:139 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/javascript/reference/global_objects/promise/index.md:35 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/mathml/element/menclose/index.md:40 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/mathml/element/mmultiscripts/index.md:42 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/mathml/element/mmultiscripts/index.md:67 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/mathml/element/mtable/index.md:57 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/media/formats/video_codecs/index.md:399 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/media/formats/video_codecs/index.md:415 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/performance/animation_performance_and_frame_rate/index.md:25 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/privacy/firefox_tracking_protection/index.md:30 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/privacy/firefox_tracking_protection/index.md:34 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/progressive_web_apps/add_to_home_screen/index.md:57 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/progressive_web_apps/add_to_home_screen/index.md:207 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/progressive_web_apps/add_to_home_screen/index.md:211 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/svg/tutorial/fills_and_strokes/index.md:33 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/svg/tutorial/fills_and_strokes/index.md:56 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/svg/tutorial/fills_and_strokes/index.md:76 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/svg/tutorial/paths/index.md:37 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/svg/tutorial/paths/index.md:72 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/svg/tutorial/paths/index.md:160 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/svg/tutorial/paths/index.md:198 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/svg/tutorial/paths/index.md:265 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/svg/tutorial/patterns/index.md:76 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/web/svg/tutorial/positions/index.md:22 MD045/no-alt-text Images should have alternate text (alt text)
files/en-us/webassembly/concepts/index.md:99 MD045/no-alt-text Images should have alternate text (alt text)
teoli2003 commented 2 years ago

It will be very interesting to turn this rule on once done. That way, no PR could be merged with a missing alt attribute. That won't guarantee the quality of the attribute's value, but at least its existence.

rubiesonthesky commented 2 years ago

Are you interested in PRs for

I can submit some. Found by eslint and html plugin. :)

teoli2003 commented 2 years ago

Are you interested in PRs for

* fix single quotes in html to double quotes

These will be fixed automatically by Prettier (soon I hope), so that's not useful (as we will have to run Prettier anyway)

* add missing lang attribute in html element

I would gladly review such PRs (with 50-100 entries each)

Elchi3 commented 2 years ago

Thanks for filing this OWD project proposal!

Can we clarify the scope here?

Is this about updating https://developer.mozilla.org/en-US/docs/MDN/Writing_guidelines/Writing_style_guide/Code_style_guide/HTML ?

Or about fixing all of MDN with regards to these best practices? (seems too large for a single project)

Or is the idea to invest into tooling to make sure HTML best practices are enforced? If so, is there a plan for this work?

Elchi3 commented 2 years ago

In yesterday's planning call we agreed that there are too many things at once in this project proposal.

It would be good to:

Assigning @estelle to prepare these two new HTML best practice project proposals.

CBID2 commented 1 year ago

Is this issue still open? I want to try and help solve it.

Elchi3 commented 1 year ago

@estelle Is there still work left here?

estelle commented 1 year ago

Yes, Only the checked topics are done. The ones without checkmarks have not been confirmed.

On the last task: I do not know how to include a caption on tables in markdown.

CBID2 commented 1 year ago

Yes, Only the checked topics are done. The ones without checkmarks have not been confirmed.

On the last task: I do not know how to include a caption on tables in markdown.

I’ll try it @estelle

CBID2 commented 1 year ago

Yes, Only the checked topics are done. The ones without checkmarks have not been confirmed. On the last task: I do not know how to include a caption on tables in markdown.

I’ll try it @estelle

Hey @estelle, can you provide me the link to the file we're changing?

estelle commented 1 year ago

It's all of MDN, starting with content/tree/main/files/en-us/web

It's a large job, but manageable in pieces. I recommend picking one sub-task, such as type="number" in Every form control should have an id doing a search for type="number", then, if there are at least 5 edits, submitting a PR for that subtask.

It is best, when starting out, to do smallish PRs. But, you don't want to do a PR for every change either, because then it takes longer to do the "admin" for the PR then actually editing the code. It's a balance. For example, if there are more that 20 files edited, perhaps do a PR for the CSS directory and another for the HTML directory.

Hope that helps, and thank you for helping!

CBID2 commented 1 year ago

It's all of MDN, starting with content/tree/main/files/en-us/web

It's a large job, but manageable in pieces. I recommend picking one sub-task, such as type="number" in Every form control should have an id doing a search for type="number", then, if there are at least 5 edits, submitting a PR for that subtask.

It is best, when starting out, to do smallish PRs. But, you don't want to do a PR for every change either, because then it takes longer to do the "admin" for the PR then actually editing the code. It's a balance. For example, if there are more that 20 files edited, perhaps do a PR for the CSS directory and another for the HTML directory.

Hope that helps, and thank you for helping!

Hi @estelle! Here's my PRfor the caption issue. I only did one for now. Let me know if I'm one the right track. 😄

CBID2 commented 1 year ago

content/tree/main/files/en-us/web

Hi @estelle! 😄 I found an area to add a caption element. Here's the PR for it. I had writer's block in coming up with an intriguing title, so feel free to revise it.

CBID2 commented 1 year ago

I think I made an error in this PR. I'm not quite sure what "Markdownlint (PR files)" means. Can someone help?

CBID2 commented 1 year ago

I need assistance with this PR. It keeps saying "Markdownlint (PR files)" in spite of my formatting attempts.

teoli2003 commented 1 year ago

I think this has been automatically closed as #25612 had "Resolved #115" in it (It should have been something like "Part of #115" as it is not actually solving all of it. Reopening.

CBID2 commented 1 year ago

I think this has been automatically closed as #25612 had "Resolved #115" in it (It should have been something like "Part of #115" as it is not actually solving all of it. Reopening.

Made the change @teoli2003

CBID2 commented 1 year ago

Hey @estelle. I've noticed that only 29 of the 63 tasks are completed, so I think it would be best to reopen this issue.