mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Per-chart export: copy/download spec and PNG/SVG from the preview header
This commit is contained in:
@@ -395,9 +395,15 @@ gear carries `aria-expanded` + `aria-controls`; Enter/Space toggle; **Esc closes
|
||||
focus to the gear**; an outside click closes; at most one is open at a time; focus moves to
|
||||
the first control on open (so `Cmd/Ctrl+,`, which opens the editor cluster, lands inside it).
|
||||
Non-modal — **no focus trap** (unlike the feature modal above). The panel is portaled to
|
||||
`<body>` and positioned `fixed` because the panes clip their content. _(Consulted via /council
|
||||
→ NN/g #4 consistency, #6 recognition-over-recall, #8 minimalist; WAI-ARIA APG disclosure +
|
||||
menu-and-menubar; Carbon popover/overflow-menu/text-toolbar. This bullet is the contract.)_
|
||||
`<body>` and positioned `fixed` because the panes clip their content. The same primitive and
|
||||
single-open registry serve any pane-header disclosure, not only settings: the per-chart
|
||||
**Export** control (preview header — _Import & Export → Per-chart export_) is a disclosure
|
||||
whose `group` holds a few **action buttons** (Copy / Download) plus option controls. A small
|
||||
set of action buttons in a disclosure stays a `group` — an ARIA menu is reserved for true
|
||||
`menuitem`/`menuitemcheckbox`/`menuitemradio` command lists, which this app does not use.
|
||||
_(Consulted via /council → NN/g #4 consistency, #6 recognition-over-recall, #8 minimalist;
|
||||
WAI-ARIA APG disclosure + menu-and-menubar; Carbon popover/overflow-menu/text-toolbar. This
|
||||
bullet is the contract.)_
|
||||
|
||||
**Resolved — an error names the right fix, not a boilerplate one.** Don't staple a generic
|
||||
remedy onto every failure. A missing dataset reference is **not** a JSON/spec syntax problem,
|
||||
|
||||
Reference in New Issue
Block a user