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

[FINNA-2131] Fix organisation info truncation #3052

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

siiriylonen
Copy link

No description provided.

@siiriylonen siiriylonen marked this pull request as ready for review October 14, 2024 14:18
var lessBtn = buttonWrapper.querySelector('.less-btn');
var moreBtn = buttonWrapper.querySelector('.more-btn');
moreBtn.addEventListener('click', () => {
lessBtn.blur();

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?

Copy link
Author

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?)

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.

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.

Copy link

@EreMaijala EreMaijala left a 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ä.

@JJManner
Copy link

Saavutettavuustestit menivät läpi sekä Win / Mac puolella kaikilla selaimilla tuon focus setting ja tab index poiston jälkeenkin.

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.

4 participants