The pages are in English; this contents, the search and the buttons are in Japanese.
Accessibility
- Each drawing says what it is. The
svghasrole="img", a<title>(the teams and the score, or the surface) and a<desc>(the competition, the status, the result, and what the surface is), linked byaria-labelledby. The words are in English or Japanese bylanguage. - A score is also text. The names, scores and statuses in a drawing are text elements, so they can be selected and found in a page. Pass
titleanddescriptionto say it your own way. - Words stay upright. In a tall drawing the text is turned back, and a football field's numbers are upright on both sides.
- Colour is not the only sign. The winner is marked by a bar under the score and the loser's side is lighter, as well as by the colours.
- Contrast. The score sits on a dark panel with white words in both themes; a team's words on its colour are black or white by the colour's lightness, or the
textColoryou give. - Motion. A drawing is still. A replay moves only when told to play, never by itself unless
autoplayis set (and not then for a reader who prefers reduced motion, who gets steps and no gliding), it pauses when the page is hidden, and each of its controls has a name, a size of at least 44 pixels and a visible focus. A score that changes throughupdate()swells and settles once, or only fades in with reduced motion. The demo's live score moves only when pressed, or every few seconds when told to play and the page is in view. - Events are spoken. While a replay plays or steps, a polite live region says each goal, shot, pass and whistle with its time;
replayTablelists them as text. - Not yet: a spoken update. A page that changes the score may announce it with its own live region; the drawing does not.