freeCodeCamp, Standardize Times with the HTML5 datetime Attribute, 2020 Web Development VIDEO
In this lesson, we look at how one can have text wrapped with a standardized time. HTML5 has allowed this to happen using the datetime attribute. Let us assume you would like to use ordinary language when writing some content on a site so you say something like "last Saturday, I learned to code". You can wrap the text "last Saturday" with a time element, then you can utilize the datetime attribute to describe what is meant by "last Saturday". This will not only help those with screen readers, but it will also aid in making your site more meaningful and descriptive which helps SEO purposes
Other Videos By We Will Code 2019-11-10 Explore Differences Between the var and let Keywords, Learn ES6, Intro to ES6, free Coding Tutorials 2019-11-10 Introduction to the ES6 Challenges, freeCodeCamp Intro to ES6 Challenges on FreeCodeCamp 2019-08-28 freeCodeCamp's Use tabindex to Specify the Order of Keyboard Focus for Several Elements 2019-08-24 freeCodeCamp's Use tabindex to Add Keyboard Focus to an Element, Accessible Web Apps 2020 2019-08-14 freeCodeCamp's Make Links Navigatable with HTML Access Keys, Learn Web Accessibility 2019-08-12 freeCodeCamp, Give Links Meaning by Using Descriptive Link Text, Learn to Code 2020 2019-08-10 freeCodeCamp, Avoid Colorblindness Issues by Carefully Choosing Colors that Convey Information 2019-08-08 freeCodeCamp's, Avoid Colorblindness Issues by Using Sufficient Contrast, Accessible Websites 2019-08-07 freeCodeCamp, Improve Readability with High Contrast Text, Applied Accessibility Website 2019-08-05 freeCodeCamp, Make Elements Only Visible to a Screen Reader by Using Custom CSS, Accessible Website 2019-08-04 freeCodeCamp, Standardize Times with the HTML5 datetime Attribute, 2020 Web Development 2019-08-01 freeCodeCamp's Add an Accessible Date Picker, Accessibility App 2020, We Will Code 2019-07-31 freeCodeCamp, Wrap Radio Buttons in a fieldset Element for Better Accessibility, 2020 Web App Help 2019-07-30 freeCodeCamp, Improve Form Field Accessibility with the label Element, 2020 Web Accessibility 2019-07-29 freeCodeCamp, Improve Chart Accessibility with the figure Element, 2019 Screen Readers Accessibility 2019-07-27 freeCodeCamp, Improve Accessibility of Audio Content with the audio Element, 2019 Web Accessibility 2019-07-26 freeCodeCamp, Applied Accessibility, Make Screen Reader Navigation Easier with the footer Landmark 2019-07-26 freeCodeCamp, Make Screen Reader Navigation Easier with the nav Landmark, Accessible Web Apps 2019 2019-07-26 freeCodeCamp, Make Screen Reader Navigation Easier with the header Landmark, Make an Accessible Site 2019-07-25 freeCodeCamp's Wrap Content in the article Element, Accessibility Challenges 2019-07-24 freeCodeCamp's Jump Straight to the Content Using the main Element, Web App Accessibility
Tags: html5 date type
accessible date picker
time element
datetime attribute
html5 date