Elektrine lite

← Feed

@bkardell@toot.cafe

2026-07-28 14:13 UTC

@yatil@yatil.social @anatudor@mastodon.social Yeah... I think the heading is nice for some reasons of being easily navigated and also getting treated pretty well by other things that consume it, like search engines and reader mode and screen readers. If you choose that, keep in mind that headings have to be immediately followed by their following content which sometimes people break trying to do something nice with layout

Replies (1)

  • @anatudor@mastodon.social 2026-07-28 14:27

    @bkardell@toot.cafe @yatil@yatil.social My first instinct was to go for `article` with a heading inside for consistency*, since the live page uses an `article` elem for each tour, though in that case it makes more sense since each contains the tour name, description, statistics (number of shows, days...), status (upcoming, ongoing, past). Then I started having doubts. I've looked at actual band websites and, while most use just `div`s 😬, those that didn't all use `li`s. *also in terms of styling to a certain extent

    Open ##5074240