dcz, to UX
@dcz@fosstodon.org avatar

One of my talks for got accepted!

I'll talk about how "My files are a mess!", and how it will stay this way unless we achieve a collective enlightenment.

https://cfp.gulas.ch/gpn22/talk/ZRKD3G/

Now I finally have an excuse to do the research on the topic XD

kubikpixel, (edited ) to webdev German
@kubikpixel@chaos.social avatar

Quick-and-Dirty Accessibility

If you are a web developer who is not hugely familiar with the topic of web accessibility, your first encounter with it may be confusing. I’ve been there. It sucks to be presented with a list of changes to make your finely-crafted code more accessible, it can feel like scope creep, “someone else’s job”, or a critique of your work. The goal of this article is to give you tools – not more work.

🌐 https://www.tpgi.com/quick-and-dirty-accessibility/


vincentbiret, to ai
@vincentbiret@hachyderm.io avatar
roberto, to ai
@roberto@phpc.social avatar

I am happy to announce that I have just published an article about semantic search with Orama: "Implementing Semantic Search with Storyblok and Orama"

https://dev.to/robertobutti/implementing-semantic-search-with-storyblok-and-orama-3p9c

Delphi, to languagelearning
@Delphi@mastodon.scot avatar

Why is 'uptick' being used instead of 'increase'?
Is there also an urban word for decrease?

lesblazemore, to mastodon
@lesblazemore@mastodon.social avatar

I just remembered one of the essential things Mastodon has to do, thread replies so replies show up in the thread chain properly.

Again, etc

davidism, to CSS
@davidism@mas.to avatar

Getting closer to finishing the rewrite of the Pallets website, with a new design and up-to-date information. Got a burst of energy when I found Pico CSS, was procrastinating for ages not wanting to deal with CSS frameworks. With Pico you write basic HTML and it all Just Works. https://picocss.com/

paulox,
@paulox@fosstodon.org avatar

@pauleveritt @davidism I believe that in many cases, writing semantic and classless HTML is good for the web and increases its accessibility. 🚀
In fact, we have just updated the Python Pescara 🐬 group landing page to Pico v2 ✨
https://pescara.python.it/

evangelos, to fediverse
@evangelos@libretooth.gr avatar

Is there a fedi client that uses json-ld link relations successfully?

smallcircles,
@smallcircles@social.coop avatar

@toxomat @evangelos

There is a matrix chatroom to discuss the Semantic Fediverse at:

https://matrix.to/#/#semantic-fediverse:matrix.org

paulox, (edited ) to CSS
@paulox@fosstodon.org avatar

Pico CSS v2 has been released! 🎉

A minimalist and lightweight starter kit that prioritizes semantic syntax, making every HTML element responsive and elegant by default. ✨

https://picocss.com/docs/v2

indieterminacy, to fediverse

I just created a matrix room and kbin magazine concerning wider aspects about models and understanding in the

https://matrix.to/#/#semantic-fediverse:matrix.org
https://kbin.social/m/semantic_fediverse

All backgrounds and technical capabilities welcome

sergi, to webdev
@sergi@floss.social avatar

This must be the best explanation I've read so far about using "article" and "section" for : https://www.smashingmagazine.com/2022/07/article-section-elements-accessibility/

paulox, to python
@paulox@fosstodon.org avatar

Pelican 4.9 has been released✨

I wrote an introduction to the new version of the Pelican built-in “Simple” theme with semantic and classless HTML and customizable out-of-the-box. 🦜

https://www.paulox.net/2023/11/30/pelican-4.9-classless-simple-theme/

CC @justin

j9t, (edited ) to webdev
@j9t@mas.to avatar

” is a fantastic mindset, but https://html-first.com is a disappointment and a distraction.

Not once does that website suggest that should be (to even constitute HTML), , or .

But HTML First thinking starts with actual HTML, used according to purpose, accessible to everyone.

That’s the “HTML First” we need.

(I’m cooking a book about that kind of HTML First, but it’s too early to make announcements.)

fay, to random
@fay@lingo.lol avatar

"tout billet seconde classe se trouvant en première classe s'expose à une amende"

blog, to wordpress
@blog@shkspr.mobi avatar

The minimal-div minimal-span philosophy of this blog
https://shkspr.mobi/blog/2023/10/the-minimal-div-minimal-span-philosophy-of-this-blog/

If you've ever learned Mandarin Chinese, you'll know about "measure words". They're the sort of thing that trip up all new learners of the language. While 个 (gè) can be used as a generic measure word, using it everywhere makes you sound like an idiot (according to my old teacher). So you learn to use 个 for people, 包 for packets, and 根 for things which are long and thin.

English has a similar construct. You might say "one bunch of flowers" or "two glasses of wine" or "three bowls of soup".

You could say "one thing of flowers" or "two things of wines" or "three things of soups" but the measure words give much needed context and semantics.

If you get it wrong and said to a publican "four mugs of beer please" they'd probably know what you meant but it could be a bit confusing.

And isn't that very much like HTML?

The language of the web gives us semantic elements for our markup. When you use <button> to draw a button on screen, the browser knows exactly what to expect, how to display the content, and what it should do. A search engine can extract meaning from the page. Users of assistive technology can be told that they're on a button. Everything is lovely!

You don't have to do that, of course. You could use <div class="button" onclick="something()"> - with enough CSS and JS you'll have something which looks and acts more-or-less like a button. But you'll lose all the semantics which make life easier for browsers, search engines, assistive technologies, and anything else that a user uses to interact with your site.

HTML has dozens of semantic elements. There's <address> for contact details, <time> for dates and times, <nav> for navigation elements.

There are two main "generic" elements. <div> for blocks of stuff, and <span> for a short run of text. I find that most modern websites over-use these elements. I want to reiterate, there's nothing illegal or immoral about doing so; the web police aren't going to take you to gaol. I personally think that writing semantic HTML is easier to maintain, easier to understand, easier for accessibility, and easier for automatically extracting meaning.

So, for a while now, I've been slowly working on my blog's theme in order to remove as many <div>s and <span>s as possible. I started out with a couple of hundred of each. I'm now down to about 35 of each - depending on which page you're on.

Here are some of the problems I found.

Semantic wrapping is complicated

I use Schema.org microdata in my HTML. For example, when a user has left a comment, I might indicate their name by using <span itemprop="name">Juliet Capulet</span>

Or, in the heading of a post I might use

This post has<span itemprop="https://schema.org/commentCount">3</span> comments and is<span itemprop="https://schema.org/wordCount">400</span> words long

Because there's no HTML element like <commentcount> or <wordcount>, I have to wrap those numbers in something if I want to indicate the semantic content behind them. I could "cheat" and use something like <var> or <output> but they're as semantically irrelevant as <span>.

Similarly, it's hard to do semantic comments for WordPress.

Some things are just things

I have a large calendar at the bottom of every page showing my archives. Each calendar is its own "thing" and so is wrapped in a <div> which controls its style and layout. That group of calendars is also its own thing - because .

They're inside a widget - which itself is inside of an <aside>.

I was using a <table> layout for them, but it wasn't flexible and it ballooned the size of the DOM. Perhaps I should treat them as lists? At least then they'd be easier to skip?

WordPress defaults

All built in widgets in WordPress take the following form:

<h2 class="widget-title">...</h2><div>   ...</div>

I don't think they need that extra <div>, although I can see why it might be necessary for styling.

Similarly, https://developer.wordpress.org/reference/functions/wp_nav_menu/ is encased in a <div> by default - although that can be removed.

What's Next?

I'm going to continue hacking away out of a sense of masochism. Perhaps the only person who will notice (other than me) is someone accidentally viewing the source of this page.

But I think it's worth it. There's that story about how the original Mac circuit board was laid out so that, despite never being seen by normal people, it was part of the overall æsthetic. And I think that's what I'm going for - something that I can be satisfied with.

https://shkspr.mobi/blog/2023/10/the-minimal-div-minimal-span-philosophy-of-this-blog/

HaruEb, to random

@feditips Is there a way to have a separate feed that's JUST the hashtags I follow, and one that's JUST the people accounts I follow? I love # bloomscrolling and such but I'm worried I'll miss toots from friends and such. Thanks in advance, got a ton of value from you already 😍

MalthusJohn,

@feditips @essie_is_okay @HaruEb

I've used the same UI since I started an account here, but apparently it's not the basic or standard one. So I don't really know what that normal standard is.

Anyway, on PC I have a pinned column (as mentioned above by Fedi Tips) that includes I think 5 that populate the feed. The other column shares output based on your toggled selection, which could be "home", or the other options.

One of those is "followed hashtags" which opens a list of your saved . You get a pure (single tag) stream for each as you click them. Basically, it's like a 'saved searches' function, except for a network that has no search. 🤔

mastodonmigration, (edited ) to random
@mastodonmigration@mastodon.online avatar

Find and Follow Academics on Mastodon

OK, this is wonderful. Sociologist Mark Igra @markigra made this amazing tool for finding and following academics:

Find Academics on Mastodon >>> https://find-masto-folks.vercel.app/

This awesome resource takes data from the authoritative repository:

Academics on Mastodon >>> https://nathanlesage.github.io/academics-on-mastodon/ .

To be listed, use this link to find your discipline >>> https://nathanlesage.github.io/academics-on-mastodon/#curated-account-lists , and fill out the form or contact the list curator.

1/

gpollara,
@gpollara@med-mastodon.com avatar

@mastodonmigration
The lack of medicine / medical sciences as an academic specialty highlights why sometimes I find Mastodon so lonely as a platform for academia!

@markigra

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • GTA5RPClips
  • provamag3
  • InstantRegret
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • lostlight
  • All magazines