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

[4.0] [a11y] Multilingual Associations buttons #23989

Closed
wants to merge 2 commits into from

Conversation

brianteeman
Copy link
Contributor

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

image

Any styling issues are beyond the scope of this PR

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"'
Copy link
Contributor

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?

Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah oops

Copy link
Contributor Author

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

Copy link
Member

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.

@brianteeman
Copy link
Contributor Author

No layout change. It just looks bad

@infograf768
Copy link
Member

@infograf768
Copy link
Member

infograf768 commented Feb 23, 2019

Note: some changes from 3.9 are not yet forwarded to 4.0
#21180

and there are other errors in the functionality (Reference not loaded)

TypeError: element is null[Learn More] joomla-tab.js:387:14

    findAncestor http://localhost:8888/installmulti/joomla40/media/vendor/joomla-custom-elements/js/joomla-tab.js?dc532af402a4dfa44e535fe6c66405b6:387 connectedCallback http://localhost:8888/installmulti/joomla40/media/vendor/joomla-custom-elements/js/joomla-tab.js?dc532af402a4dfa44e535fe6c66405b6:79 <anonymous> http://localhost:8888/installmulti/joomla40/media/vendor/joomla-custom-elements/js/joomla-tab.js?dc532af402a4dfa44e535fe6c66405b6:2 <anonymous> http://localhost:8888/installmulti/joomla40/media/vendor/joomla-custom-elements/js/joomla-tab.js?dc532af402a4dfa44e535fe6c66405b6:1 

YES, I KNOW it is not related to this PR. Just useful to remember.

@infograf768
Copy link
Member

Why close it? It makes sense afterdeleting . '</a>';
What remains has to be done in other PRs.

@brianteeman brianteeman deleted the mm-assoc branch May 13, 2019 09:15
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.

5 participants