Document Title
A document title is the text that names a web page, displayed in the browser tab or title bar and often shown in search engine results. Assistive technologies such as screen readers announce this title when a user first arrives on a page, helping people understand where they are before interacting with the content. A clear, descriptive title helps all users, including those using assistive technology, identify and distinguish pages.
In HTML, the document title is defined by the <title> element, which appears within the document's <head> and contains text only (no nested HTML markup). It is rendered in the browser's title bar or tab and commonly used by search engines, and it is programmatically accessible via the document.title property, which reflects the value of the <title> element. For accessibility, screen readers announce the document title upon page load, so each page should have a unique, descriptive title that conveys its topic or purpose; this supports orientation and page identification for users of assistive technologies. Providing descriptive page titles aligns with the intent of WCAG Success Criterion 2.4.2 Page Titled (Level A), though conformance with a single criterion does not guarantee an accessible experience, and manual and assistive technology testing remain necessary.
Why it matters
The document title is often the first piece of information a person encounters when arriving on a web page. Screen readers announce the title as soon as a page loads, so for users of assistive technology it provides critical orientation, confirming where they are before they begin navigating the content. Sighted users also rely on titles in browser tabs to distinguish among multiple open pages, and search engines commonly display the title in results, making it a key signal for identifying and selecting the right page.
Who it's relevant to
Inside Document Title
Common questions
Answers to the questions practitioners most commonly ask about Document Title.