Skip to content

Accessibility - #84

Merged
matthiask merged 4 commits into
mainfrom
accessibility
Jun 2, 2026
Merged

Accessibility#84
matthiask merged 4 commits into
mainfrom
accessibility

Conversation

@Loscho19

Copy link
Copy Markdown
Contributor

No description provided.

@Loscho19 Loscho19 self-assigned this May 29, 2026
@Loscho19
Loscho19 requested a review from matthiask May 29, 2026 11:19
Comment thread src/menu.js
buttonWrapper,
picker,
])
const optionButtons = new Map()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why the map is needed, can you remind me? I think we discussed this already but I have forgotten the reasoning.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After wrapping, the direct child is the wrapper button, not item.option. So toggling hidden on item.option would only hide the inner element while leaving an empty visible row in the dropdown.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thank you! I'll test it today and then publish a release if I don't find any problems (I don't expect any)

@Loscho19

Loscho19 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

I think you need to revert 14baa88 first before you can merge it

matthiask added 2 commits June 2, 2026 13:08
# By Matthias Kestenholz (3) and pre-commit-ci[bot] (2)
# Via GitHub
* main:
  [pre-commit.ci] pre-commit autoupdate (#83)
  Updates
  Updates
  [pre-commit.ci] pre-commit autoupdate (#82)
  Update dependencies

# Conflicts:
#	django_prose_editor/static/django_prose_editor/editor.css.map
#	django_prose_editor/static/django_prose_editor/editor.js
#	django_prose_editor/static/django_prose_editor/editor.js.map
#	django_prose_editor/static/django_prose_editor/overrides.css.map
@matthiask
matthiask merged commit cb47c0a into main Jun 2, 2026
4 of 5 checks passed
@matthiask
matthiask deleted the accessibility branch June 2, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants