cjcodeproj / medialibrary

Python code to read XML media files
MIT License
2 stars 0 forks source link

HTML tables should support id, scope, header attributes #202

Open cjcodeproj opened 1 month ago

cjcodeproj commented 1 month ago

The HTML table code should support id attributes for the table elements, the scope attribute for the <th> elements, and the header attribute for the <td> elements.

There should be code that can generate suitable id values, and keep track of them.

Requires completion of https://github.com/cjcodeproj/medialibrary/issues/178

cjcodeproj commented 1 month ago

Right now the code work in #178 is covering the HTML scope attribute for <th> elements. This ticket can expand on that work with the id and header elements.

The reference work I'm using for the scope attribute is from here.

https://www.codeguage.com/courses/html/tables-header-scope

It's the best one with examples. The code will not do scope attributes for the header elements in the thead since it's obvious, but will do it in other cases.