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

[Admin] Table component rows do not contain links #5944

Open
tvdeyen opened this issue Nov 19, 2024 · 3 comments · May be fixed by #6046
Open

[Admin] Table component rows do not contain links #5944

tvdeyen opened this issue Nov 19, 2024 · 3 comments · May be fixed by #6046

Comments

@tvdeyen
Copy link
Member

tvdeyen commented Nov 19, 2024

All over the new admin we use divs or simply text to display the resource and rely on a complex Stimulus click event handler to open the edit route. This is not semantic at all and makes it necessary to use a fully JS enabled browser under all circumstances to test the new admin interface which leads to flaky and slow tests.

We should use links instead and probably remove the stimulus click event handler. Also, links are not visually highlighted, which leads to a11y issues.

@tvdeyen
Copy link
Member Author

tvdeyen commented Nov 19, 2024

@MadelineCollier @solidusio/core-team I would like this to be addressed before we continue to implement more and more admin code like this. WDYT?

@MadelineCollier
Copy link
Contributor

Yep I can take a look at this before the end of this week! @tvdeyen

@MadelineCollier MadelineCollier self-assigned this Nov 20, 2024
@MadelineCollier MadelineCollier moved this to In Progress in Solidus Admin Nov 20, 2024
MadelineCollier added a commit to MadelineCollier/solidus that referenced this issue Nov 25, 2024
All over the new admin we use divs or simply text to display the
resource and rely on a complex Stimulus click event handler to open the
edit route. This is not semantic at all and makes it necessary to use a
fully JS enabled browser under all circumstances to test the new admin
interface which leads to flaky and slow tests.

We should use links instead and probably remove the stimulus click event
handler. Also, links are not visually highlighted, which leads to a11y
issues.

solidusio#5944
MadelineCollier added a commit to MadelineCollier/solidus that referenced this issue Nov 27, 2024
All over the new admin we use divs or simply text to display the
resource and rely on a complex Stimulus click event handler to open the
edit route. This is not semantic at all and makes it necessary to use a
fully JS enabled browser under all circumstances to test the new admin
interface which leads to flaky and slow tests.

We should use links instead and probably remove the stimulus click event
handler. Also, links are not visually highlighted, which leads to a11y
issues. So, this commit adds underlines to links in table rows.

solidusio#5944
MadelineCollier added a commit to MadelineCollier/solidus that referenced this issue Nov 27, 2024
All over the new admin we use divs or simply text to display the
resource and rely on a complex Stimulus click event handler to open the
edit route. This is not semantic at all and makes it necessary to use a
fully JS enabled browser under all circumstances to test the new admin
interface which leads to flaky and slow tests.

We should use links instead and probably remove the stimulus click event
handler. Also, links are not visually highlighted, which leads to a11y
issues. So, this commit adds underlines to links in table rows.

solidusio#5944
MadelineCollier added a commit to MadelineCollier/solidus that referenced this issue Nov 27, 2024
All over the new admin we use divs or simply text to display the
resource and rely on a complex Stimulus click event handler to open the
edit route. This is not semantic at all and makes it necessary to use a
fully JS enabled browser under all circumstances to test the new admin
interface which leads to flaky and slow tests.

We should use links instead and probably remove the stimulus click event
handler. Also, links are not visually highlighted, which leads to a11y
issues. So, this commit adds underlines to links in table rows.

solidusio#5944
@tvdeyen tvdeyen removed the status in Solidus Admin Dec 6, 2024
@tvdeyen
Copy link
Member Author

tvdeyen commented Dec 6, 2024

See #6105 for what we would need to do in order to make this a success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
2 participants