Skip to content

The element div#sidebar requires the attribute role="button" #248

Description

@KyleThomas
mannequin
BPO 30278

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2017-05-05.07:36:46.171>
labels = ['type-feature', '3.7', 'docs']
title = 'The element div#sidebar on documentation requires the attribute role="button".'
updated_at = <Date 2017-05-05.07:36:46.171>
user = 'https://bugs.python.org/KyleThomas'

bugs.python.org fields:

activity = <Date 2017-05-05.07:36:46.171>
actor = 'Kyle Thomas'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2017-05-05.07:36:46.171>
creator = 'Kyle Thomas'
dependencies = []
files = []
hgrepos = []
issue_num = 30278
keywords = []
message_count = 1.0
messages = ['293056']
nosy_count = 2.0
nosy_names = ['docs@python', 'Kyle Thomas']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue30278'
versions = ['Python 2.7', 'Python 3.3', 'Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7']

Activity

  1. KyleThomas commented on May 5, 2017

    KyleThomasmannequin
    MannequinAuthor

    Elements other than buttons which act as buttons require metadata to be accessible. Refer to
    https://www.w3.org/TR/wai-aria-practices/examples/button/button.html

  2. transferred this issue fromon Apr 10, 2022
  3. slateny commented on Sep 1, 2022

    @slateny

    If I'm understanding the original post right, this doc has a bit more info on why this might be helpful.

  4. StanFromIreland commented on Aug 13, 2025

    @StanFromIreland
    Member

    The element is now called #sidebarbutton , however this is an issue for python-docs-theme.

  5. changed the title [-]The element div#sidebar on documentation requires the attribute role="button".[/-] [+]The element div#sidebar requires the attribute role="button"[/+] on Feb 28, 2026
  6. hugovk commented on Feb 28, 2026

    @hugovk
    Member

    Please see sphinx-doc/sphinx#14326 to fix this upstream in Sphinx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions