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

CSS class is missing with tarteaucitron v1.9.6 (20220322) #2

Open
pegasnier opened this issue Jun 20, 2022 · 1 comment · May be fixed by #3
Open

CSS class is missing with tarteaucitron v1.9.6 (20220322) #2

pegasnier opened this issue Jun 20, 2022 · 1 comment · May be fixed by #3

Comments

@pegasnier
Copy link

To improve accessibility, a new class has been added to tarteaucitron header refer this commit.

With actual css definition, the div for accessibility stays visible on top of the page (1st element of the body).

The following css is provided by @AmauriC:

.tac_visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap; /* added line */
      border: 0;
}
@pegasnier pegasnier changed the title CSS class is missing av tarteaucitron v1.9.6 (20220322) CSS class is missing with tarteaucitron v1.9.6 (20220322) Jun 20, 2022
@sbrindle
Copy link

Hello,

Would it be possible to merge the fix and create a first tag at the same time?

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants