daisy / daisy/ace

repetition of error lines about contrast color in the report

Open
#197 2 comments 0 reactions 0 assignees View on GitHub
enhancement 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:

Face au changement,


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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.