Problem/Motivation
Claro has changed the semantics of the table-drag "show row weights" control from button to link.
When using any other core theme, this control is a <button type="button">.
Link isn't the correct element for this control. It isn't behaving as a hyperlink.
Proposed resolution
Change it back to a <button>
Comments
Comment #2
andrewmacpherson commentedComment #3
andrewmacpherson commentedBack in #3079738-32: Add Claro administration theme to core, I said I was worried that Claro having lots of JS overrides would open up a lot of potential for accessibility regressions. This change from button to link is a good example of that.
Does Claro make any other arbitrary semantic changes like this?
Adding this as a must-have for the Claro stability road map.
Comment #4
bnjmnmThere's an issue dedicated to stripping out the majority of the tabledrag JS overrides #3083051: Refactor tabledrag when core issues are resolved. I uploaded a patch yesterday that includes the removal of the override that results in the button becoming a link (I was quite pleased to do that). There's a bit more to do before I can set it to Needs Review, but that issue is considered a must-have stable blocker so it will be prioritized appropriately. I believe this can be closed as a duplicate, but I won't perform the status change as I recall you requesting that you'd prefer accessibility maintainers make that call on issues tagged "Accessibility".
Comment #5
andrewmacpherson commentedHmm, that issue is about removing Claro's tabledrag.js overrides after some core issues are resolved, but..
So I don't think there's any justification to intentionally delay fixing this regression. I'm not in favour of closing this issue as a duplicate; that would set a poor precedent that fixing accessibility regressions can arbitrarily wait.
If the other issue fixes the problem before marking Claro stable, it'll make this issue outdated. That's fine. But I don't want to conflate an accessibility regression bug with a task issue to clean up technical debt. Those are clearly separate concerns, and it would be poor triage to call this one a duplicate. The "must-have" status of a clean up task could change.
Comment #6
lauriiiI believe the change was made to try to resolve problems described in #3030987: Refactor usage of button component on links which I think you raised on an earlier discussions. It seems like the solution should have been to make the button to look like button, rather than changing it to link.
Comment #8
lauriiiClosing this in favor of #3083051: Refactor tabledrag when core issues are resolved.