afknapping / xafknapping.github.io

https://afknapping.de/
0 stars 1 forks source link

avoid duplicate content #13

Closed lassediercks closed 1 year ago

lassediercks commented 7 years ago

the headline with this css:

h1::before,
h1::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

means for a screenreader:

Hi I'm fabian, Hi I'm Fabian, Hi I'm Fabian

afknapping commented 7 years ago

i see.

analog to hidden "skip to content" links...

image

...how about placing a hidden checkbox there, saying something like "remove visual effects" or "enable screenreader mode" or the like? if it is checked, i could display: none the doubled content

afknapping commented 7 years ago

@lassediercks

how about placing a hidden checkbox there, saying something like "remove visual effects" or "enable screenreader mode" or the like? if it is checked, i could display: none the doubled content

any feedback on this before spend time on coding this? :)

lassediercks commented 7 years ago

I'd advise the following approach when approaching accessibility: the content of a website is fully accessible by default. All what is added on top of that should increase the user experience.

So I think it would be possible to have a checkbox that triggers that but if you compare that to the value added by the glitch animation, the glitch animation should be removed. imo.

afknapping commented 7 years ago

Thx! 👍

lassediercks commented 1 year ago

<3