-
Notifications
You must be signed in to change notification settings - Fork 44
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
[FINNA-2131] Fix organisation info truncation #3052
[FINNA-2131] Fix organisation info truncation #3052
Conversation
var lessBtn = buttonWrapper.querySelector('.less-btn'); | ||
var moreBtn = buttonWrapper.querySelector('.more-btn'); | ||
moreBtn.addEventListener('click', () => { | ||
lessBtn.blur(); |
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.
Tämä tarvitsee vähän selvennystä. Missä tilanteessa lessBtn:ssa on fokus kun moreBtn:ia klikataan?
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.
Näyttäisi se toimivan ilmankin lessBtn.blur(), mutta tuo fokus siihen .less-btn laitetaan truncate.js. (Vai miten missä tilanteessa?)
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.
Se voi siis olla ihan ok, mutta tarttee selittävän kommentin.
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.
Saavutettavuustestit menivät läpi sekä Win / Mac puolella kaikilla selaimilla.
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.
Tsekattu finna-ux -kanavalla, että truncate-muutos pitäisi tehdä muuhunkin toiminnallisuuteen, eli ei tehdä tässä toimintokohtaista viritystä.
Saavutettavuustestit menivät läpi sekä Win / Mac puolella kaikilla selaimilla tuon focus setting ja tab index poiston jälkeenkin. |
No description provided.