Elektrine lite

← Feed

Cristian Díaz 🏳️‍🌈

ItsCrisDiaz@mastodon.social

<p>* Front-End developer from Colombia<br />* Loves <a href="https://mastodon.social/tags/html" class="mention hashtag" rel="tag">#<span>html</span></a> <a href="https://mastodon.social/tags/css" class="mention hashtag" rel="tag">#<span>css</span></a> <a href="https://mastodon.social/tags/a11y" class="mention hashtag" rel="tag">#<span>a11y</span></a> <br />* Ocasional writer for Smashing Magazine and LogRocket<br />* L(G)BT<br />* English and Spanish<br />* Believer in cephalopod&#39;s supremacy since 1993 🐙🦑</p>

Posts

  • Post #2062649

    Hello! I have an #a11y question. I have been trying to think which would be the right markup for this light/dark theme switch. My initial reaction was to make two buttons but with this visual affordance, I&amp;#39;m not sure what kind of behavior would be expected. I was thinking of working on it as a group of two radio elements but I really can&amp;#39;t stay for sure. I&amp;#39;d appreciate any input about this topic. Thanks! :)