Thomas Rigby · @hryggrbyr
57 followers · 231 posts · Server mastodon.org.uk

All too often I have seen developers reach for JavaScript to solve a problem when they do not need to. Welcome to *Use Less JavaScript* - an irregular series on native HTML5 elements you can use instead!

thomasrigby.com/posts/use-less

#javascript #semanticHTML #frontend #development

Last updated 2 years ago

Dan Keck · @dankeck
152 followers · 429 posts · Server a11y.social

At his presentation on ARIA at CSUN, Mark Steadman of Fidelity Investments mentioned that he's seeing an increase in websites using a <div> tag with the ContentEditable attribute, when an <input> or <TextArea> tag would do.

#csunatc2023 #a11y #semanticHTML #html

Last updated 2 years ago

Inautilo · @inautilo
97 followers · 203 posts · Server mastodon.social

“ARIA should only be used to supplement HTML. If semantic HTML does a good enough job then ARIA should not be used. The hope is that HTML will eventually develop to sufficiently cover all accessibility needs without the need for ARIA.” — Emma Dawson

_____

#webdevelopment #webdev #frontend #html #semanticHTML #accessibility #a11y #aria #quote

Last updated 3 years ago

Inautilo · @inautilo
96 followers · 195 posts · Server mastodon.social

“HTML has so many cool accessibility features. Too bad it is often left out of education and guides.” — @Pixdigit

_____

#webdevelopment #webdev #frontend #accessibility #a11y #html #semanticHTML #quote

Last updated 3 years ago

Éamonn · @eob
339 followers · 145 posts · Server social.coop

Playing around with the I tried to see what was the simplest possible Mastodon client I could write.

So far I've only implemented reading of public feeds (federated, local, and hashtags), but I found I was able to implement that in about 300 lines of JavaScript and a small amount of custom and .

To keep things simple, I stuck as closely as possible to .
github.com/eobrain/simplodon

#mastodon #api #html #css #semanticHTML

Last updated 3 years ago

Inautilo · @inautilo
34 followers · 52 posts · Server mastodon.social

“Reduced usage of ARIA will, ironically, greatly increase accessibility.” — Dennis E. Lembrée ilo.im/zhqld


#webdevelopment #techniques #accessibility #a11y #aria #markup #semanticHTML #html

Last updated 3 years ago

Inautilo · @inautilo
88 followers · 181 posts · Server mastodon.social

“Reduced usage of ARIA will, ironically, greatly increase accessibility.” — Dennis E. Lembrée ilo.im/zhqld


#webdevelopment #techniques #accessibility #a11y #aria #markup #semanticHTML #html

Last updated 3 years ago

Inautilo · @inautilo
34 followers · 52 posts · Server mastodon.social

“Reduced usage of ARIA will, ironically, greatly increase accessibility.” — Dennis E. Lembrée


#webdevelopment #techniques #accessibility #a11y #aria #markup #semanticHTML #html

Last updated 3 years ago

UjuBib · @UjuBib
347 followers · 4507 posts · Server mamot.fr

RT @WalterStephanie

Link or Button? Use an anchor element (link) when you need to connect two sources, use a button element when you need to let user perform a programmable action (like submitting a form, opening a dialog). As simple as that! by @AshleeMBoyer ashleemboyer.com/blog/should-i

#semanticHTML

Last updated 3 years ago

@syntax
On second thought you may not need to break if your webpage container is after the ?

So in it might be (very roughly):
.themeSwitcher[:checked] + {
// test for what
// @aymm
// mentioned and have styles
// accordingly?
}

Do a small test first, perhaps?

#semanticHTML #checkboxHack #sass #webpageContainer

Last updated 6 years ago

@syntax
Great discussion here.

Break all semantics and put your entire webpage inside a . Combine with what @aymm said to invert the default and the button operation. :)

Partly joking just because we'd like to see this attempted (there's possibly a way to do it).

#html #checkboxHack #semanticHTML

Last updated 6 years ago