View Single Post
Old 06-12-2025, 08:28 AM   #29
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,859
Karma: 6120478
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by Doitsu View Post
Even though they are not used for accessibility, it'd be a nice-to-have feature to have Sigil also add an epub:type attribute whenever an ARIA role is selected that has an epub:type equivalent.
I.e., keep the original prototype idea for the ARIA role right-click menu but also silently add/update the corresponding epub:type attribute.
You could then document in the user guide that adding an ARIA role will also add/update the corresponding epub:type attribute if one exists.
That is exactly what the proof of concept code does now. But there are a few epub:type values like a footnotes section, an endnote, and a bibliography entry, that do not exist in Aria roles (or are deprecated) but might be useful or needed.

Those are the ones I would like to add to the Insert Roles dialog (marked as epub type only).

So people would have to use only one menu in Sigil to add Accessibility and epub:types in one go where possible.

Last edited by KevinH; 06-12-2025 at 08:31 AM.
KevinH is offline   Reply With Quote