r/technology 9h ago

Software Trump appoints Airbnb co-founder to revamp public (government) websites

https://www.dw.com/en/trump-appoints-airbnb-co-founder-to-revamp-public-websites-after-musk-doge-exit/a-73744139
1.9k Upvotes

116 comments sorted by

View all comments

149

u/Encomiast 9h ago edited 9h ago

The HTML of https://americabydesign.gov does not exactly inspire confidence that anyone over there actually knows what they are doing:

<span data-word-id="1-word-0" class="text-main-dark" style="transition:color 0.7s ease-in-out;-webkit-transition:color 0.7s ease-in-out;will-change:color">
    What's
</span></span>
<span><span data-word-id="1-word-1" class="text-main-dark" style="transition:color 0.7s ease-in-out;-webkit-transition:color 0.7s ease-in-out;will-change:color">
    the
</span></span>
<span><span data-word-id="1-word-2" class="text-main-dark" style="transition:color 0.7s ease-in-out;-webkit-transition:color 0.7s ease-in-out;will-change:color">
    biggest
</span></span>

23

u/Expensive-Job-9419 9h ago

eli5?

116

u/Encomiast 8h ago

It's…uhm, unusual to wrap every word in markup. It's super inefficient since all this duplicate text needs to be sent to the browser, it's hard to maintain, and it play havoc with screen readers, so it's not super efficient. And it's just ugly.

21

u/Regular-Engineer-686 8h ago edited 7h ago

This is like Frontpage all over again