The Government Digital Service (GDS) has intensified its efforts to standardize digital inclusivity across public sector platforms, recently convening a panel of senior frontend developers to address the foundational role of semantic HTML in modern web architecture. This initiative, part of the ongoing Unlocking Accessibility series, serves as a critical knowledge-sharing exercise for the United Kingdom’s civil service, where the digital accessibility of essential services is not merely a design preference but a statutory requirement under the Public Sector Bodies (Websites and Mobile Applications) Accessibility Regulations 2018.
As the UK government continues its "digital by default" strategy, the expertise of frontend developers has become the primary line of defense against digital exclusion. Professionals from the Ministry of Housing, Communities and Local Government (MHCLG), the Department for Work and Pensions (DWP), and NHS England have contributed to a comprehensive technical discourse on building services that cater to the estimated 16 million people in the UK living with a disability.
The Strategic Importance of Semantic HTML
The core of the discussion centered on the transition from visual-centric design to structural, meaning-driven code. Semantic HTML refers to the use of tags that accurately describe the purpose of the content they enclose, rather than merely defining its appearance.
Dilwoar Hussain, Lead Frontend Developer at the Ministry of Housing, Communities and Local Government, emphasized that HTML provides the fundamental building blocks for the web. While generic elements like <div> and <span> offer flexibility for layout, they provide no information to assistive technologies. In contrast, semantic elements such as <nav>, <header>, and <button> inform screen readers and search engines about the structural hierarchy of a page.
James Gordon, Senior Frontend Developer at the Department for Work and Pensions, highlighted a common pitfall in modern development: the "pseudo-link." He noted that developers often use images or generic text combined with JavaScript click events to mimic links. While these may appear functional to sighted users, they are often invisible or confusing to screen reader users who rely on the underlying code to identify interactive elements. By using the semantic <a> tag, developers ensure that the browser automatically handles focus management and provides the necessary metadata to assistive devices.
This sentiment was echoed by Michael Cheung of NHS England and Holly Blues of DWP Digital, who argued that semantic HTML provides "accessibility for free." By utilizing the correct tags, developers leverage the built-in functionality of modern browsers, which have been refined over decades to handle standard elements with high reliability.
Chronology of Web Accessibility Standards
The push for semantic clarity is rooted in a long history of evolving web standards. To understand the current emphasis on semantic HTML, it is necessary to view the timeline of digital accessibility:
- 1999: The first Web Content Accessibility Guidelines (WCAG 1.0) were published, establishing the groundwork for how content should be made accessible.
- 2008: WCAG 2.0 was introduced, moving toward a "POUR" model (Perceivable, Operable, Understandable, Robust).
- 2014: The HTML5 recommendation was finalized, introducing a wealth of new semantic elements like
<article>,<section>, and<main>, which drastically improved the ability of developers to describe page structure. - 2018: The UK passed the Public Sector Bodies Accessibility Regulations, making WCAG 2.1 Level AA compliance mandatory for all public sector websites.
- 2023-2024: The implementation of WCAG 2.2 added new criteria, particularly focusing on cognitive disabilities and mobile interface interactions.
This chronological progression has shifted the responsibility of accessibility from a specialized "audit" phase at the end of a project to the very first line of code written by a frontend developer.
Proactive Integration and the "Shift Left" Mentality
A recurring theme among the panel was the concept of "shifting left"—the practice of integrating accessibility testing and considerations into the earliest stages of the development lifecycle. This approach reduces the cost and complexity of fixing accessibility barriers, which can be up to 30 times more expensive to resolve after a product has launched.
David Biddle, a Frontend Developer at GDS, suggested that accessibility should be a primary thought during the design phase. By considering how a feature will function for a user relying on a screen reader or voice control before any code is written, developers can avoid complex workarounds later.
The panel highlighted the utility of the GOV.UK Design System and the NHS Design System. These frameworks provide pre-tested, accessible components that allow developers to build complex services with the confidence that the underlying HTML meets rigorous standards. Holly Blues noted that the DWP teams work collectively—from Product Owners to Quality Assurance—to ensure that accessibility is a shared responsibility rather than a siloed task for the developer.

Technical Analysis of Dynamic Content and Interactivity
As web applications become more interactive, the challenge of maintaining accessibility increases. Dynamic content—such as modals, carousels, and live-updating forms—often breaks the traditional linear flow of a document, potentially disorienting users who cannot see visual cues.
Dilwoar Hussain detailed the use of ARIA (Accessible Rich Internet Applications) attributes as a supplement to semantic HTML. For collapsible elements like accordions, Hussain utilizes aria-expanded and aria-controls to programmatically communicate the state of the interface to screen readers. This ensures that when a user toggles a section, the change in state is announced immediately.
The panel also advocated for "Progressive Enhancement." This development philosophy dictates that a website’s core functionality should work with basic HTML and CSS, with JavaScript added only to enhance the experience. James Gordon argued that starting with the simplest version of a feature allows for maximum compatibility. If JavaScript fails to load or is disabled, the user should still be able to access the information.
For complex elements like modals, David Biddle recommended the use of the native <dialog> element. Introduced in recent years to modern browsers, <dialog> handles many of the difficult aspects of modal accessibility, such as "focus trapping" (ensuring the user’s keyboard focus stays within the modal until it is closed), which previously required extensive custom JavaScript.
Supporting Data: The Cost of Inaccessibility
The drive for accessible code is supported by significant economic and social data. According to the "Click-Away Pound" survey, a recurring study in the UK, approximately 71% of disabled web users will abandon a website that they find difficult to use. This represents a massive loss in potential engagement and, in the private sector, a loss of billions in revenue.
In the public sector, the stakes are higher. Inaccessible services can prevent citizens from applying for benefits, renewing licenses, or accessing healthcare information. Data from the 2024 WebAIM Million report, an annual accessibility audit of the top one million homepages, found that 95.9% of homepages had detectable WCAG 2 failures. The most common issues—low contrast text, missing alt text for images, and empty links—are all problems that the GDS panel identified as being solvable through the diligent use of semantic HTML and basic frontend best practices.
Broader Implications for the Digital Landscape
The insights provided by the frontend developers at MHCLG, DWP, and the NHS suggest a maturing of the web development profession. No longer viewed as a "nice-to-have" feature, accessibility is being treated as a fundamental requirement of engineering excellence.
The implications of this shift extend beyond the UK civil service. As the government publishes its findings and open-sources its design systems, the private sector often follows suit. The standardization of semantic HTML practices helps create a more predictable web environment for assistive technology manufacturers, leading to better software for users with disabilities.
Furthermore, the emphasis on semantic code has secondary benefits for search engine optimization (SEO) and device interoperability. Search engines use the same structural cues as screen readers to index content; a well-structured semantic page is inherently more "readable" to Google’s crawlers, often resulting in higher search rankings. Similarly, as the web expands to new formats—such as smartwatches, voice assistants, and foldable devices—semantic HTML ensures that content can be reflowed and interpreted correctly across all platforms.
Official Responses and Future Outlook
Official representatives from the Government Digital Service have indicated that the "Unlocking Accessibility" series will continue to explore other roles, including designers, researchers, and content writers. The goal is to foster a holistic culture of inclusivity that permeates every level of government service delivery.
In a closing statement, the panel encouraged developers to utilize the Accessibility Lab, a facility managed by the NHS and GDS that allows developers to test their code on a wide range of assistive devices, including various screen readers (JAWS, NVDA, VoiceOver), refreshable braille displays, and switch controls.
As the UK moves toward even more complex digital architectures, including the integration of AI-driven interfaces, the foundational lessons of semantic HTML remain more relevant than ever. The consensus among the experts is clear: while tools and plugins can assist in identifying errors, they are no substitute for a developer’s fundamental understanding of accessible code. The future of the inclusive web relies not on more software, but on better engineering at the source.

