DEV Community

[Comment from a deleted post]
Collapse
 
gracesnow profile image
Grace Snow • Edited

Hi Amy

I tried to write a comment on this but it wouldn't post. I hope this works.

Can I ask you to remove or amend this article please so it uses accessible code? This is a recipe for exclusion and should never happen.

It's so so important to use the correct interactive elements.

Buttons can be styled as links. Promote that solution instead 🙏

Collapse
 
amyoulton profile image
Amy Oulton

Check out the post now to find both a disclaimer at the top, and another solution using proper accessibility!

Collapse
 
gracesnow profile image
Grace Snow

Totally understand. Well done on the quick amends 👍

Collapse
 
amyoulton profile image
Amy Oulton

Hi Grace. While I totally agree that exclusion is a massive problem and want to be as inclusive as possible, this was posted as response as a specific request from a Twitter user looking to learn how to apply the modal button principles to varying things. In the specific example, it's about text, but the focus of the post is to showcase what the working pieces of Bootstrap modals are.

I will put a disclaimer at the beginning of this post, but since it was added with the intention of solving a specific problem (for someone try to grasp concepts, not do best practice) I will keep the post up as a response the that question.