Links in running text are underlined, and map markers are pressable and open by keyboard (#367) #1071
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/367-links-and-targets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #367. Carries out D277 (in-text links are underlined) and D278 (target sizes).
Summary
src/ui/base.cssunderlines a link inside a paragraph, hint, banner or rendered markdown, in the ink variant of the accent. Menus, lists, navigation, cards, the app bar, the footer and buttons are left alone..wtx-link(wiki text) is always underlined..linkish--blockgives a text button that stands alone ("Show more", "Mark all read") a 24 px target (44 px on touch). One inside a sentence stays on its line.mapHit.js), not to whichever is drawn on top.Changelog
changelog.d/367-links-and-targets.fixed.mdTest plan
aria-pressed="true", focus stays on it.+zooms.MapCanvas.test.jsx(6 tests, real Leaflet in jsdom);mapHit.test.jscovers the nearer-point rule and the press keys.Accessibility.test.jsx: 5 passed at the head commit.src/pages/wiki,src/uiand the statement: 617 of 619 on the first run. The two failures were timeouts in files this branch does not touch, on a loaded host; they passed when rerun alone.Known gap, stated and not fixed
Two markers drawn closer together than 24 px still fail axe's
target-sizerule, because their pressable areas overlap. The nearer-point rule makes the press go to the right one, and the statement names the gap. The trail stops and the "party is here" marker are on the canvas but not in the "On this map" list.🤖 Generated with Claude Code