Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XWIKI-22495: Missing text content in the resource picker dropdown #3612

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sereza7
Copy link
Contributor

@Sereza7 Sereza7 commented Oct 30, 2024

Jira URL

https://jira.xwiki.org/browse/XWIKI-22495

Changes

Description

  • Added a translated title/content to the dropdown toggle
  • Updated the style to allow for the use of .sr-only in this specific context (overriding CKEditor CSS reset)

Clarifications

  • The CKEditor CSS reset works on .cke_reset_all *. Pretty much anything more specific than .sr-only is enough to take priority over it. I decided to go with a local definition (only useful for this specific element). If any other sr-only elements are needed in our CKEditor UI, we might want to write a style rule for all of them with .cke_reset_all .sr-only.

Screenshots & Video

No visual changes in between before and after the PR, except for the title tooltip appearing when hovering the button.
Here is what the UI would look like after the changes proposed in this PR:
Screenshot from 2024-10-30 16-43-29

Executed Tests

Manual tests on a local instance, see screenshot above.
As far as I can see, integration-tests should not be impacted by this change.

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • 15.10.x
    • 16.4.x

* Added a translated title/content to the dropdown toggle
* Updated the style to allow for the use of .sr-only in this specific context (overriding CKEditor CSS reset)
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