Is there really an aria:type, i.e. an aria XML namespace? The
application of aria I've heard of is the `role=` and `aria-*=`
attributes for HTML.
They cover *some* of the same ground, but epub:type has a richer
book-specific vocabulary, and we're making books after all. For example
there's no `epigraph` ARIA role. Unless I'm looking in the wrong place.
I know epub is probably going to lean towards replacing epub:type with
aria and I think that's a pity...
On 1/17/22 4:22 PM, Eric Hellman wrote:
> There's probably a way to add the epub schema to a preset - whatever
> mechanism they use to add MathML 3.0 + RDFa 1.1 should work for the epub
> additions.
>
> I don't think they use a DTD at all. XML Schema seems more likely based
> on the error messages. But I haven't dug at all.
>
> The epub people I've talked to say epub:type is supported nowhere
> whereas aria:type covers a lot of the same ground, is built into the nu
> validator, and is used by a number of accessibility apps. So I'm leaning
> towards omitting epub:type in favor of aria:type and maybe the epub
> namespace serves no useful purpose.
>
>> On Jan 17, 2022, at 1:11 PM, Alex Cabal <
al...@standardebooks.org
>> <mailto:
al...@standardebooks.org>> wrote:
>>
>> I was successfully able to bundle v.Nu with the SE toolset, so now
>> when we run build --check it will also run v.Nu to validate XHTML5.
>> The errors related to epub namespaces are easy to ignore before
>> returning actual errors to the user. This is in commit 0b46231
>>
>> Still curious to hear if there's a better way to specify some kind of
>> XHTML5 + epub DTD when invoking v.Nu. But for now, just discarding
>> epub namespace errors works fine.
>>
>> On 1/14/22 4:42 PM, Eric Hellman wrote:
>>> Project Gutenberg is in the process of adopting HTML5 for source files.
>>> One big advantage of HTML5 is the availability of the MUCH more
>>> powerful validator at
https://validator.w3.org/nu/
>>> <
https://validator.w3.org/nu/> <
https://validator.w3.org/nu/
>>> <
https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fstandardebooks.org%2Febooks%2Fwilliam-shakespeare%2Fthe-taming-of-the-shrew%2Ftext%2Fsingle-page>
>>> <
https://validator.w3.org/nu/?showsource=yes&doc=https://standardebooks.org/ebooks/william-shakespeare/the-taming-of-the-shrew/text/single-page
>>> <mailto:
standardebook...@googlegroups.com
>>> <
https://groups.google.com/d/msgid/standardebooks/088C2B4B-8AE9-4D30-B86A-D572166A7398%40hellman.net?utm_medium=email&utm_source=footer
>>
https://groups.google.com/d/msgid/standardebooks/0b153639-0007-cf65-12c2-6e4c371cadd6%40standardebooks.org
>> <
https://groups.google.com/d/msgid/standardebooks/0b153639-0007-cf65-12c2-6e4c371cadd6%40standardebooks.org>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Standard Ebooks" group.
> To unsubscribe from this group and stop receiving emails from it, send
>
https://groups.google.com/d/msgid/standardebooks/260FBB05-8D97-4B80-9E8F-9DCA8876FF40%40hellman.net
> <
https://groups.google.com/d/msgid/standardebooks/260FBB05-8D97-4B80-9E8F-9DCA8876FF40%40hellman.net?utm_medium=email&utm_source=footer>.