mindly.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mindly.Social is an English speaking, friendly Mastodon instance created for people who want to use their brains and their hearts to make social networking more social. 🧠💖

Administered by:

Server stats:

1.2K
active users

Sometimes I wonder if me writing up trivial issues like the following is making a difference. I mean, if you are a developer, and you don’t see what is wrong here in like half of a 10th of a second, what are you even doing? Respectfully.

<input
type="radio"
id="radio-abcd"
aria-label="[object Object]. "
checked=""
value="1"
/>
<label for="radio-abcd">Useful label</label>

@yatil been seeing these "object object" stuff lately in random places so it's made me ponder if it's a certain react component library or perhaps a CMS adding these in, have seen them both on links and forms. Feels like something that would be intended as a placeholder but because of the naming there's probably no way any developer not familiar with the intended meaning of `aria-label` would understand what it represents in the first place.

@Tamasg It’s probably getting a translation string gone wrong. If an object instead of a string is returned, JavaScript indicates it by using that exact string of characters as a conversion is not easily doable or impossible.

Tamas G

@yatil aha. "clickable Title: [object Object]. heading level 2" found on Tableau's site when inside a chart. A lot of fun to discover these, but your idea makes sense a lot for why it happens.