Fix positive tabindex

A positive tabindex pulls controls out of the visual order.

Keyboard users jump to the footer before the content.

Steps

  1. Search for tabindex greater than 0.
  2. Remove it.
  3. Use 0 only when you must put a custom control in the tab order.

Failing example

A footer link has tabindex 1.

Better example

Focus follows the visual order.

Shopify

Remove positive tabindex from Shopify sections.

WooCommerce

Delete positive tabindex in WooCommerce templates.

WordPress

Do not set a positive tabindex on WordPress blocks.

Wix

Remove positive tabindex from Wix custom code.

WCAG

Shopify steps · Shopify · Missing alt text