tc39 / tc39/ecmarkup

tooltip for early-return symbol (and the user-code symbol)

Open
#717 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
245
Forks
80
Avg merge
10h 46m
Merged PRs (30d)
2

Description

In the rendered ecma262, could the early-return symbol get a tooltip (or something similar)?

I just encountered one for the first time, and (at my default font size) couldn't discern what it depicted. Hovering/clicking it did nothing, and I couldn't select it to find out what the Unicode character was. I had to increase my font size until I could tell what it was, graphically.

And I can imagine that for some readers, even knowing that the symbol depicts a bent arrow, or that it's a U+23CE Return Symbol, wouldn't necessarily clue them in that it denotes a step with an early return.

A tooltip for the "user code" symbol would probably be a good idea too.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the rendering code for the early-return and user-code symbols in the ecmarkup output, then inspect any existing tooltip or explanatory-label patterns. Done means both symbols expose clear explanatory text on hover or an equivalent interaction in rendered ecma262.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.