Frames with focusable content must not have tabindex=-1

Serious

What is the problem?

The frame-focusable-content rule ensures that frame and iframe elements that contain focusable content do not have a tabindex of -1.

Impacted Groups

Blind
Mobility

Why is this important?

When a tabindex of -1 is applied to a frame or iframe, it prevents keyboard users from navigating to and interacting with the content within that frame. This can exclude users who rely on keyboards for navigation, such as those with motor impairments.

How to solve this issue

To fix this, either remove the tabindex attribute or set it to a positive value. This will allow keyboard users to access the content within the frame and interact with it as intended.

Rule Information

Rule ID

frame-focusable-content

Severity

Serious

Manual Review Required

Yes

Rule Group

WCAG 2.0 Level A & AA Rules

Guidelines

  • WCAG 2.1 (A)
  • WCAG 2.0 (A)
  • WCAG 2.2 (A)
  • Trusted Tester
  • EN 301 549

Customise Guidance

You can customise each accessibility rule in SiteAlly with your own guidance, instructions and even links to your own organisation specific documentation.

Enable your website editors to resolve issues quickly with SiteAlly.

Ready to make your website accessible?

SiteAlly provides automated accessibility monitoring, detailed reports, and step-by-step guidance to help you achieve and maintain compliance.