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

Investigate how CSS animations change some properties #1460

Open
2 tasks
Jym77 opened this issue Aug 10, 2023 · 0 comments
Open
2 tasks

Investigate how CSS animations change some properties #1460

Jym77 opened this issue Aug 10, 2023 · 0 comments
Labels
bug Report of unexpected or faulty behaviour in Alfa Language support Related to unsupported features in HTML/CSS/ARIA Research Task that need some investigation and experiment

Comments

@Jym77
Copy link
Contributor

Jym77 commented Aug 10, 2023

It seems that properties whose values are changed by a CSS animation still keep their initially declared value (but compute to the result of the animation). When there is an animation onload (e.g. fading in the content), this seems to result in Alfa only seeing the pre-animated values and incorrectly assessing the page (e.g. thing that the content is still invisible and hasn't fade in).

<style>
  @keyframes keyframes1 {
    from { visibility: hidden; }
    to { visibility: visible; }
  }
  .class1 {
    visibility: hidden; 
    animation: keyframes1 1s;
    animation-fill-mode: forwards;
  }
</style>

 <div class="class1">This shows after animation but is incorrectly considered as invisible by Alfa. </div>

Need to understand what really happens and especially whether scraping the page after a delay would solve the problem.
It may be that Alfa will need to understand animations.

@Jym77 Jym77 added bug Report of unexpected or faulty behaviour in Alfa Research Task that need some investigation and experiment Language support Related to unsupported features in HTML/CSS/ARIA labels Aug 10, 2023
@Jym77 Jym77 added this to 📮 Backlog in ⚙️ Development via automation Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report of unexpected or faulty behaviour in Alfa Language support Related to unsupported features in HTML/CSS/ARIA Research Task that need some investigation and experiment
Projects
⚙️ Development
  
📮 Backlog
Development

No branches or pull requests

1 participant