-
-
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
[4.0] [a11y] Multilingual Associations buttons #23989
Conversation
It it looks like a button and acts like a button then it should be a <button> This PR makes sure that the two buttons to select and clear an association are real buttons
@@ -75,6 +75,7 @@ protected function getInput() | |||
$html[] = '<button' | |||
. ' class="btn btn-secondary' . ($value ? '' : ' hidden') . '"' | |||
. ' onclick="return Joomla.submitbutton(\'undo-association\');"' | |||
. ' type="button"' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert since it has onclick
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inline js has to be replaced
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah oops
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@HLeithner thats beyond the scope of the pr which was just to make it a button
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only wanted to notice.
Is the layout changed because you rewite css is outofscope of this pr.
No layout change. It just looks bad |
Extraneous |
Note: some changes from 3.9 are not yet forwarded to 4.0 and there are other errors in the functionality (Reference not loaded)
YES, I KNOW it is not related to this PR. Just useful to remember. |
Why close it? It makes sense afterdeleting |
It it looks like a button and acts like a button then it should be a
This PR makes sure that the two buttons to select and clear an association are real buttons
Any styling issues are beyond the scope of this PR