-
Notifications
You must be signed in to change notification settings - Fork 6
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
Moderate Violation error Best Practice - unique desc id #136
Comments
|
Hi Daniel,
It turns out that if I marked the text visibility as hidden for that
specific alt text, the issue was resolved. It's interesting because in all
the other instances, the alt-text is completely covered by large images,
but that was a very small one, so the text kept running, and I'm wondering
if that's actually why it was flagged by Ace? I did resolve it with this
fix anyway. Ace is such an amazing resource, thank you!
…On Wed, 7 Apr 2021, 06:15 Daniel Weck, ***@***.***> wrote:
landmark-unique should be fixed in Ace "next":
daisy/ace#314 <daisy/ace#314>
Could you please share an EPUB to test with? Many thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#136 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATQGKUW3MLG52RVGQGEXVLDTHPTADANCNFSM42I6SJLA>
.
|
Ah, good to hear you found a workaround. Daisy Ace uses Deque Axe behind the scenes to perform accessibility checks in each individual HTML publication document. Some validation rules depend on the visibility of elements in the page, so perhaps that is the reason for the reported warnings? |
Well, I think it's doing its job very well. It did somehow detect that
there was something "off" with this alt-text, although that isn't exactly
the purpose of the check, but I wonder if it indeed flagged that the
alt-text was visible outside the parameters of the figure it was
describing. I am curious to check if the text-to-speech in Thorium will
still detect and read the desc, as I'm thinking it's only hidden in the
visual sense, but I will have to check later.
Thanks again!
…On Thu, 8 Apr 2021, 14:23 Daniel Weck, ***@***.***> wrote:
Ah, good to hear you found a workaround. Daisy Ace uses Deque Axe behind
the scenes to perform accessibility checks in each individual HTML
publication document. Some validation rules depend on the visibility of
elements in the page, so perhaps that is the reason for the reported
warnings?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#136 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATQGKUW3O2FTYZ4GHU3CWALTHWU4BANCNFSM42I6SJLA>
.
|
I have just created an EPUB that passes the EPUB checker inside calibre with flying colours, and all of the Ace by Daisy checks, except for flagging this one Moderate Best Practice issue:
Titelsida: akvarellmålning av en blå fjällräv på en stig i skenet av norrsken.
bild på förlagets logotyp, "NDIO" med stora, röda bokstäver på svart och vit bakgrund, "kultur och kommunikation" i små vita bokstäver på röd bakgrund under.
Originally, I figured that the issue was that I titled it "002b", so instead I changed it to a later desc, "024". The issue remained, so I went through the EPUB, first to last xhtml page, and changed all the descs to run in chronological order as they appear in the EPUB, from 001-027. But Ace is STILL flagging this as a fault, on this page only for some reason. There's nothing different about my code here, I have checked and checked. Is this just a bug, or am I doing something wrong? This is my structure on that page, which is returning the "Moderate" Best Practice warning from Ace:
<div id="_idContainer007"> <img class="_idGenObjectAttribute-1 _idGenObjectAttribute-2" src="image/Nr2NorrskensravTitelsida.jpg" alt="illustration" aria-describedby="desc002" /> <aside class="fig-desc" id="desc002"> <p>Titelsida: akvarellmålning av en blå fjällräv på en stig i skenet av norrsken. </p> </aside> </div> <div id="_idContainer008"> <img class="_idGenObjectAttribute-1 _idGenObjectAttribute-2" src="image/logga_kvalitet_tryck.jpg" alt="illustration" aria-describedby="desc003" /> <aside class="fig-desc" id="desc003"> <p>bild på förlagets logotyp, "NDIO" med stora, röda bokstäver på svart och vit bakgrund, "kultur och kommunikation" i små vita bokstäver på röd bakgrund under. </p> </aside> </div>
The text was updated successfully, but these errors were encountered: