python-docs-theme icon indicating copy to clipboard operation
python-docs-theme copied to clipboard

The element div#sidebar on documentation requires the attribute role="button".

Open 6f33d8b2-671f-4c1c-9878-fb6db8ac4125 opened this issue 8 years ago • 3 comments

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']

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

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

slateny avatar Sep 01 '22 03:09 slateny

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

StanFromIreland avatar Aug 13 '25 12:08 StanFromIreland