[Koha-bugs] [Bug 28242] Accessibility: OPAC - add captions and legends to tables and forms

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jun 13 06:27:05 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28242

--- Comment #5 from wainuiwitikapark at catalyst.net.nz ---
(In reply to Tomás Cohen Arazi from comment #4)
> I'm not familiar with accessibility guidelines, but understand this changes.
> I would like to know if this is on purpose. In this case, the <h2> tag is
> removed in the resulting caption:
> 
> -   <div id="opac-user-fines">  <h2>Credits</h2>
> +   <div id="opac-user-fines">
>         <table class="table table-bordered table-striped">
> +       <caption>Credits</caption>
> 
> but in some others it is kept:
> 
> -   <h2>Results</h2>
>     <table id="sci_bcheckins_table" class="table table-bordered
> table-striped dataTable no-footer">
> +     <caption><h2>Results</h2></caption>
> 
> Maybe there's a reason, but I would like it commented on the commit message,
> unless it needs to be fixed for consistency.
> 
> Great work BTW!

Hi Tomás,

Thank you for your comment!

Yes I understand this is quite confusing.

Basically Koha is set up without a lot of accessibility in mind and there is a
lot of inconsistency. Therefore, I sort of just chose to do things on a case by
case basis and sometimes it is unnecessary to have headings, and sometimes it
makes sense to have both captions and headings.

I will make a point to try and document these decisions more.

Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list