Adding at least a tiny bit of accessibility to the New Topic button (#506)

* Adding a bit of "pseudo-accessibility" to the New Topic button

I don't have the time to look into this enough to really make the "New Topic" button accessible. However, right now, it isn't accessible for keyboard navigation at all (as it's not registered as "clickable").

While these changes don't add actual "overall" accessibility to the pseudo button, it at least adds the ability for keyboard navigation tools to register it as a button (at least adding support for extensions like [Vimium](https://vimium.github.io/), etc.

* Removed accidentally introduced \n at end of file
main
Pablo Klaschka 5 years ago committed by GitHub
parent ef28134800
commit 9bc6861b4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
<noscript><div class="dropdown" component="category-selector"></noscript>
<label component="category/post" for="category-dropdown-check" class="btn btn-primary" id="new_topic">
<label component="category/post" for="category-dropdown-check" class="btn btn-primary" id="new_topic" role="button">
[[category:new_topic_button]]
</label>
<noscript>
@ -12,4 +12,4 @@
{{{end}}}
</ul>
</div>
</noscript>
</noscript>

Loading…
Cancel
Save