repetition of error lines about contrast color in the report
- Dominant language
- JavaScript
- Stars
- 98
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
ACE 1.0.1 logs an error line when the contrast between foreground and background colors doesn't reach WCAG 2 AA ; this error line is inserted for each occurrence of the error. For some epub files, the log contains thousands of error lines, so it is difficult to read it and to locate different errors.
I suggest that ACE logs only one line for the first occurrence of this error for the same HTML context
It would be more convenient to read the log file if ACE .
For Example for my epub :
error 1
p1chap2.xhtml#epubcfi(/4/2[chap-001]/8/6[niv1-002]/12/2)
Snippet:
error 2
p1chap2.xhtml#epubcfi(/4/2[chap-001]/8/6[niv1-002]/12/6)
Snippet:
capable de changer…
These 2 errors are inside the
element ; the first error message would be sufficient to correct the epub( (modification of a css).
Contributor guide
Assessment
This issue has not been assessed yet.