-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Incorrect value of [aria-pressed]
attribute in switch
#11115
Comments
Hey @Comandeer Can I do this? |
@NaincyKumariKnoldus, yes, you can! Please note that your PR should include tests for the change. You can check our docs for more info about the testing environment. |
Hey @Comandeer Having a CLA is important for contributing? I dont have |
You will be asked to sign it after you make a PR. It can be done completely online :) It's a standard procedure that secures the project from odd copyrights problems. |
Hey @Reinmar I am not able to find aria-pressed undefined here. |
|
…ed-in-switch Fix (ui): The default value of the `aria-pressed` DOM attribute of a [toggleable](https://ckeditor.com/docs/ckeditor5/latest/api/module_ui_button_button-Button.html#member-isToggleable) button should be `false` instead of `undefined`. Closes #11115.
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
The element has
[aria-pressed]
attribute with a value offalse
.❌ Actual result
The element has
[aria-pressed]
attribute with a value ofundefined
.📃 Other details
It seems that the attribute's value fixes itself the moment user interacts with the switch.
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: