<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Buttons as  not link  for better accessibility]]></title><description><![CDATA[<p dir="auto">Hey, I was just wondering if it is possible (maybe someone is on it already) to have buttons as button html elements in the future? For accessibility this is very important, together with proper naming of the elements, but that we can do easily by hand. At the moment, when we select a button style it just stays a link &lt;a&gt; element.</p>
<p dir="auto">Also to use the page per keyboard so especially for hover actions or "active" points it would be great to have layout options, etc.</p>
<p dir="auto">For now I am sure I'll find a way around it, but it would help a lot :)<br />
Or did I miss a function where this is already possible?</p>
<p dir="auto">Have a good day</p>
]]></description><link>https://laythemeforum.com/topic/12108/buttons-as-button-not-link-a-for-better-accessibility</link><generator>RSS for Node</generator><lastBuildDate>Wed, 28 Oct 2026 22:51:54 GMT</lastBuildDate><atom:link href="https://laythemeforum.com/topic/12108.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Oct 2026 11:16:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Buttons as  not link  for better accessibility on Wed, 28 Oct 2026 16:41:40 GMT]]></title><description><![CDATA[<p dir="auto">this would for example create a button looking like this when using tab</p>
<p dir="auto"><img src="/assets/uploads/files/1793205695115-dddbc0d5-1560-4ef1-98f5-ee9b6d44259e-image.jpeg" alt="grafik.jpeg" class="img-markdown  img-fluid" width="840" height="544" /></p>
]]></description><link>https://laythemeforum.com/post/48386</link><guid isPermaLink="true">https://laythemeforum.com/post/48386</guid><dc:creator><![CDATA[arminunruh]]></dc:creator><pubDate>Wed, 28 Oct 2026 16:41:40 GMT</pubDate></item><item><title><![CDATA[Reply to Buttons as  not link  for better accessibility on Wed, 28 Oct 2026 16:41:13 GMT]]></title><description><![CDATA[<p dir="auto">hey!! having anchor tags for buttons that are links is semantically correct.</p>
<p dir="auto">buttons are only meant for user interactions like in a web application</p>
<p dir="auto">i think you just want to have a visual indication for which button/link is "focused" when pressing tab.</p>
<p dir="auto">it doesn't matter if its a &lt;button&gt; or &lt;a&gt; tag. you can still have tab-enabled links/buttons that show a focused state visually, by using CSS!!</p>
<p dir="auto">just paste this into lay options -&gt; custom css &amp; html -&gt; CUstom CSS:</p>
<pre><code>:where(
  a,
  button,
  input,
  select,
  textarea,
  summary,
  [role="button"],
  [tabindex]:not([tabindex="-1"])
):focus-visible {
  outline: 3px solid #0066ff !important;
  outline-offset: 4px;
}
</code></pre>
]]></description><link>https://laythemeforum.com/post/48385</link><guid isPermaLink="true">https://laythemeforum.com/post/48385</guid><dc:creator><![CDATA[arminunruh]]></dc:creator><pubDate>Wed, 28 Oct 2026 16:41:13 GMT</pubDate></item></channel></rss>