In Spain, web accessibility has been mandatory for the public sector since 2018 and for much of e-commerce and digital services since 28 June 2025. Web sustainability doesn’t have its own law yet, but the rules around it are moving fast. Here’s where things stand as of November 2026.
This article complements “Web sustainability and accessibility: why they are no longer optional”, where we explain what they are and why it makes sense to tackle them together. Here we focus on what the law says.
This article is for information only and is not a substitute for legal advice on a specific case.
Accessibility: two laws, two worlds
On digital accessibility, Spanish law draws a line between the public sector, which has been bound since 2018, and a large part of the private sector, bound since 28 June 2025.
| Public sector | Private sector | |
|---|---|---|
| Law | Royal Decree 1112/2018 | Law 11/2023 (transposition of the European Accessibility Act) |
| Who it covers | Websites and apps of public authorities and public sector bodies, including local councils | E-commerce, consumer banking, passenger transport, electronic communications, audiovisual services and e-books |
| Since when | 2018, with phased deadlines that have all now passed | 28 June 2025 |
| Technical standard | EN 301 549 (WCAG 2.1, level AA) | EN 301 549 (WCAG 2.1, level AA) |
| Who enforces it | The Web Accessibility Observatory and units within each authority | Regional authorities, coordinated by a national unit |
Public websites
Royal Decree 1112/2018 transposes a 2016 EU directive. It requires public sector websites and apps to meet the EN 301 549 standard, publish an up-to-date accessibility statement and give people a way to report barriers or ask for content in an accessible format. The Web Accessibility Observatory carries out regular reviews and offers an online diagnostic service that many public bodies already use.
For a local council, a provincial council or a university, this isn’t a recommendation: it’s an obligation that has been in force for more than seven years.
E-commerce and other private services
Law 11/2023 transposes the European Accessibility Act (Directive 2019/882). Its accessibility provisions have applied since 28 June 2025 and cover the online sale of any product or service to consumers, as well as the sectors in the table. The requirements span the whole customer journey: searching, comparing, logging in, paying and getting after-sales support.
Two common misconceptions are worth clearing up:
- It isn’t just for large companies. Previously, Spain’s e-commerce law (LSSI) required large companies to have accessible websites. Law 11/2023 repealed that provision, and the rule now in force applies to any provider of these services. The only clear exemption is for service microenterprises: fewer than 10 employees and an annual turnover or balance sheet of up to €2 million.
- There is no general moratorium until 2030. The law allows services to keep being provided until 28 June 2030 using products that were already lawfully in use, such as terminals or equipment. But that isn’t a reprieve for websites: an online shop can’t assume it has another five years’ grace.
Enforcement and penalties
In February 2026, Royal Decree 143/2026 set up the technical unit that coordinates the regional enforcement authorities. Penalties are governed by the General Law on the rights of persons with disabilities, with fines from €301 to €1,000,000: up to €30,000 for minor infringements and up to €90,000 for serious ones. On top of that, each activity is subject to its own sector rules, such as consumer law.
The starting point isn’t encouraging. According to the 2025 Web Accessibility Barometer, produced by Tech4access and inSuit, 98% of the private websites analysed in Spain did not comply with the regulations.
A word of warning about magic fixes
Overlays – those scripts that add a button with a little stick figure and promise to make a website accessible in minutes – are no substitute for a well-built website. They don’t fix the underlying code, they often get in the way of the screen readers blind people use, and they add weight to every page. Having that button doesn’t mean a website complies with the law.
Sustainability: no law of its own, but not without rules
No Spanish law currently requires a website to be lightweight or efficient. That doesn’t mean digital sustainability sits outside the legal framework: it is coming in through corporate reporting, infrastructure and procurement.
- Sustainability reporting by large companies. The EU Corporate Sustainability Reporting Directive (CSRD) was scaled back in 2026 by the so-called Omnibus I. It now applies to companies with more than 1,000 employees and over €450 million in turnover. Those companies have to report their indirect emissions, so they ask their suppliers for data – digital suppliers included.
- Reporting standards. The new GRI 102 (climate change) and GRI 103 (energy) standards, widely used in sustainability reports, apply to reports published from 1 January 2027.
- Data centres. The European Commission has adopted an efficiency label, from A to G, for data centres of more than 500 kW. If Parliament and the Council do not object, the first labels will arrive in 2027. Choosing a host will no longer be a leap of faith.
- Public procurement. Public bodies are increasingly building environmental criteria into their tenders. If you can back up a website’s weight and energy use with data, you start with an advantage.
The technical benchmark is the Web Sustainability Guidelines (WSG), drawn up by a group at the W3C. The latest version is dated 16 October 2026. They aren’t an official regulation or a mandatory standard, but audits, tenders and good practice are already being built on them. And they connect with accessibility law, because they include WCAG among their criteria.
What to do now
- Check whether it applies to you. If you’re a public body, or a business that sells online to consumers and isn’t a microenterprise, accessibility is mandatory.
- Publish an honest accessibility statement, with your real level of compliance, the date of the last review and a way for people to report barriers. It’s mandatory in the public sector; in the private sector, the law requires you to explain how you meet the requirements, and a statement is the clearest way to do that.
- Carry out an audit against the EN 301 549 standard that combines automated tools and manual review, and prioritise anything that blocks basic tasks: buying, paying, booking an appointment.
- Document and review. The law expects you to stay compliant over time, not just on the day you check.
- Start measuring your footprint. It isn’t mandatory, but your larger clients and public bodies are going to ask for it. Better to have the data ready before they do.
Accessibility already has legal consequences. Sustainability is heading the same way through the back door of reporting and tenders. In both cases, those who get there first do so with less stress and less expense.
Sources
- Royal Decree 1112/2018, on the accessibility of public sector websites and mobile apps (in Spanish).
- Law 11/2023, transposing the European Accessibility Act (Article 13.3 on microenterprises, the single transitional provision and the single repealing provision) (in Spanish).
- Royal Decree 143/2026, setting up the enforcement coordination unit (in Spanish).
- Consolidated text of the General Law on the rights of persons with disabilities, Article 83 (as worded following Law 4/2026) (in Spanish).
- Tech4access and inSuit, Barómetro de Accesibilidad Web 2025 (in Spanish).
- Directive (EU) 2026/470 (Omnibus I), amending the CSRD.
- W3C, Web Sustainability Guidelines (version of 16 October 2026).
- W3C, WCAG 2.2 approved as ISO/IEC 40500:2025.
- Global Reporting Initiative, GRI 102 and GRI 103 (June 2025).
- European Commission, data centre rating scheme (21 September 2026).