Search

Items tagged with: HTML


Ok, danke. #HTML kenne ich seit den Kinderschuhen (von HTML 😁 )

Ich schau mal, ob es da nicht schon was als Lib zum Parsen in #PHP oder #Go gibt.

@fasnix

#html #php #go @flo


Yay! It works. Thank you @dk!

Just hand coded a #HTML page like in the nineties.

Then I uploaded it to public.monster

I still can do it! Feels so empowering haha.

Isn't it stylish? public.monster/~onreact/

P.S.: At first it did not work though. Why?

Notepad saved index.html as index.html.txt

So I got a 404 despite uploading an index file.





Interesting, when a modal dialog (nested within a `<main>` element or some sectioning content) opens in Chrome it seems to disregard its context, so elements like `<header>` and `<footer>` will have `banner` and `contentinfo` roles as if they were scoped to `<body>`. When opened non-modally, they have `sectionheader` and `sectionfooter` (new ARIA roles + mapping) which means that it is computing the roles based on the dialog’s context.

Safari and Firefox keep the context is both scenarios (i.e. modal and non-modal). I have no idea what is correct. Need to read more.

Anyway, here’s a playground for the bug: knowler.dev/demos/MR4JmQW

#HTML #ARIA #accessibility





Is your website missing out on one of #HTML’s easiest yet most powerful tools? The lang attribute takes just seconds to add, but it makes a massive difference for #accessibility, SEO, and how your content displays. @webi18n

In this video, @xfq, who leads @w3c's #Internationalization activity, breaks down exactly what the language attribute does and demonstrate why skipping it can have real consequences. @webi18n

šŸŽ¬ youtu.be/G3OwTPJo_Kw


Will browsers and screen readers respect the #html lang attribute #WordPress allows us to set on paragraphs?

TL;DR; most browsers "read aloud" feature ignores element specific lang attribute, but dedicated screen readers like #NVDA and Apple #VoiceOver do fairly well!

I've installed the 20 most spoken languages in #europe on my PC and virtual Mac.

Blog post is in the making, so feel free to ask questions and send me on even more side quests 😁

Teaser at oldrup.dk/en/teaser-testing-th…


šŸ†• blog! ā€œWhat about using rel="share-url" to expose sharing intents?ā€

Let's say that you've visited a website and want to share it with your friends. At the bottom of the article is a list of popular sharing destinations - Facebook, BlueSky, LinkedIn, Telegram, Reddit, HackerNews etc.

You click the relevant icon and get taken to the site with the…

šŸ‘€ Read more: shkspr.mobi/blog/2025/08/what-…
āø»
#HTML #standards #webdev


#html










šŸ¤”HTML semantics: <abbr> theory versus abbreviation reality

"The HTML <abbr> element is deceptively familiar and attractive, its been around forever (1999) and thus people assume that it does what it does and does it well. Nothing much changed over the iterations of the abbr element definition over the years."

#a11y #webdev #HTML

tpgi.com/short-note-the-abbrev…


I disagree with use cases that rely on CSS, generally at risk from network interruptions and caching, to trigger programmatic state changes in the HTML that references it (see pic). Cart / horse and all.

Instead, use CSS to ensure your programmatic state is correct. Eg: adrianroselli.com/2021/06/usin…

#a11y #accessiblity #css #html


#html




Sensitive content


New year, new role @Mastodon!

Our core team is looking for a senior Front-end Developer to elevate the web UI/UX experience for our users.

Ideally:

1. You are highly skilled in accessible and semantic #HTML
2. Proficient in modern #CSS
3. Experienced with #Javascript, #Typescript and complex React/Redux applications

This remote full-time position requires a 4-hour overlap with the CET timezone.

For more info/to apply:
jobs.ashbyhq.com/mastodon/6a09…

#FediHire #GetFediHired #hiring #frontend



Your eyes haven’t bled from bad markup until they’ve glanced upon an ePUB exported from InDesign.

#ePub #markup #InDesign #XHTML #HTML




The four most popular ways to use RDF-based metadata on websites are RDFa-Core, RDFa-Lite, Microdata, and inline JSON-LD.

I can’t use RDFa-Lite because I need rel HTML attributes. rel silently upgrades RDFa-Lite to RDFa-Core, which parses differently. I doubt all parsers upgrade correctly; some will try to parse RDFa-Core as RDFa-Lite. Conformant RDFa parsers upgrade RDFa-Lite pages to RDFa-Core despite many authors only being familiar with RDFa-Lite. I suppose resources like Schema.org and Google’s documentation only documenting RDFa-Lite markup worsens the confusion. Update 2024-12-16: Sarven Capadisli has clarified on the Fediverse that this is the behavior of one faulty parser; rel only triggers an upgrade when used with an RDFa namespace. I may re-evaluate RDFa.

With RDFa split between two incompatible alternatives with a confusing upgrade mechanism, the alternatives are Microdata and JSON-LD. I use structured data extensively; JSON-LD would duplicate most of the page. Let’s use this relatively short article as an example. Exruct can convert the embedded Microdata into a massive JSON document featuring JSON-LD. Take a look at the JSON-LD and HTML side by side. Microdata attributes take a fraction of the footprint, encode the same information, and don’t require duplicating nearly the entire page.


Originally posted on seirdy.one: See Original (POSSE). #Microdata #SemanticWeb #RDFa #HTML


I don't know how many times we have to say this. Last I counted it was 1.2 million times and almost 20 years.

"Developers should always prefer using the correct semantic HTML element over using ARIA."

developer.mozilla.org/en-US/do…

#webdev #javascript #html #webdevelopment #a11y #aria

⇧