-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Prerequisites
- I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
- The issue still exists against the latest stable version of Elementor.
Description
Both toggle and accordion (non-container variant) use aria-attributes like -expanded and -controls, which is great.
Unfortunately, they also misuse tabindex which make those attributes invisible to users that rely on keyboard navigation.
Steps to reproduce
â Opened items have both the "elementor-tab-title" and the "elementor-accordion-title/elementor-toggle-title" at tabindex 0.
âď¸ Only "elementor-tab-title" should be at tabindex 0, "elementor-accordion-title/elementor-toggle-title" should be at -1 because it doesn't provide meaningful aria info â it's just an empty link.
â Closed items have only "elementor-accordion-title/elementor-toggle-title" at tabindex 0. The "elementor-tab-title" is at -1 and therefore not focusable.
âď¸ Instead, the "elementor-tab-title" should be at 0, because it provides meaningful information like aria-expanded="false".
In summary: only the element that has the aria-expanded and aria-controls attributes should have a tabindex of 0. The empty link inside this element should be at -1 (or should not be a link at all?)
Isolating the problem
- This bug happens with only Elementor plugin active (and Elementor Pro).
- This bug happens with a Blank WordPress theme active (Hello theme).
- I can reproduce this bug consistently following the steps above.
System Info
Click to reveal
== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: Ubuntu 20.04 v10.3.38
PHP Version: 8.1.21
PHP Memory Limit: 256M
PHP Max Input Vars: 9999
PHP Max Post Size: 12M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected
== WordPress Environment ==
Version: 6.2.2
Site URL:
Home URL:
WP Multisite: No
Max Upload Size: 8 MB
Memory limit: 40M
Max Memory limit: 256M
Permalink Structure: Plain
Language: de-DE
Timezone: Europe/Berlin
Admin Email:
Debug Mode: Inactive
== Theme ==
Name: Hello Elementor
Version: 2.7.1
Author: Elementor Team
Child Theme: No
== User ==
Role: administrator
WP Profile lang: de_DE
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
== Active Plugins ==
Elementor
Version: 3.15.1
Author: Elementor.com
Elementor Pro
Version: 3.15.0
Author: Elementor.com
== Eigenschaften ==
Custom Fonts: 0
Custom Icons: 0
== Integrations ==
== Elementor-Experimente ==
Optimierte DOM Ausgabe: StandardmäĂig aktiviert
Verbessertes Laden von Assets: StandardmäĂig aktiviert
Verbessertes Laden von CSS: StandardmäĂig aktiviert
Inline-Schriftarten-Symbole: StandardmäĂig deaktiviert
Zusätzliche benutzerdefinierte Breakpoints: StandardmäĂig aktiviert
admin_menu_rearrangement: StandardmäĂig deaktiviert
Flexbox Container: Aktiv
Upgrade Swiper Library: StandardmäĂig aktiviert
Grid Container: Aktiv
Default to New Theme Builder: StandardmäĂig aktiviert
Hello Theme Header & Footer: StandardmäĂig aktiviert
Editor Top Bar: StandardmäĂig deaktiviert
Startseiten: StandardmäĂig aktiviert
Nested Elements: Aktiv
Hintergrundbilder nachladen: StandardmäĂig deaktiviert
Global Style Guide: StandardmäĂig aktiviert
Page Transitions: StandardmäĂig aktiviert
Notes: StandardmäĂig aktiviert
Loop: StandardmäĂig aktiviert
Form Submissions: StandardmäĂig aktiviert
Scroll Snap: StandardmäĂig aktiviert
MenĂź: StandardmäĂig deaktiviert
Taxonomy Filter: StandardmäĂig deaktiviert
== Protokoll ==
== Elementor - Compatibility Tag ==
Elementor Pro: Kompatibel
== Elementor Pro - Compatibility Tag ==