Re: [csswg-drafts] [css-lists] Initial value of counter-increment needs to be something different from none (#3686)

why doesn't this work?
``` .css 
span[aria-label="Video"] {
    counter-increment: vidNumber;
}
span[aria-label="Video"]:before {
    content: counter(vidNumber)" ";
}
```
and this does
``` .css
._e296pg {
    counter-increment: vidNumber;
}
._e296pg:before {
    content: counter(vidNumber)" ";
}
```
I'm found counter-increment to be very useful while making a user style for KhanAcademy.com that shows the number of each lesson, video and practice next to it.
according to my experience making user styles using the accessibility attributes is very useful 

-- 
GitHub Notification of comment by wis
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3686#issuecomment-510842591 using your GitHub account

Received on Friday, 12 July 2019 10:50:00 UTC