Skip to content
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

Don't ignore disallowed children HTML errors #3482

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

reosarevok
Copy link
Member

For now a draft to see how much if any test screaming this still causes.

react-table (at least the versions before v8, which is a complete rewrite
we don't want to deal with yet) add role attributes for ARIA purposes
even when they are completely useless and actually fail HTML validation.
See TanStack/table#2862

This implements the suggestion in the last comment on that PR,
actively dropping any role that react-table might add. In our usage, these
should always be useless AFAICT
since our tables are generally actual tables.
When we changed this file several years ago, we forgot to do so that
loading the form with jQuery will still set the cookie to keep the
filter open next time. Before commit 49ab946
we always started from scratch after loading the form, so the cookie
got set that way.
This was wrongly converted from the TT paginator, which just closes
the separator li before opening the next.
I'm not sure if this is even valid (probably not really?) but it doesn't seem
to have any purpose in any case and it triggers validation tests about the
two closing /li in a row.
This is needed for form rel attributes to be accepted as valid.
SidebarProperties is a dl, and IsrcList / IswcList return a hydrated div
containing a separate dl. You cannot have the div inside a dl, but that's
not even the main problem, since you also cannot have nested dls...

This just needs to be alongside the SidebarProperties dl instead of
inside of it. Nothing seems to change in the display
on Chrome at least.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant