fix(editor): name vertex handles after their zone, in a named group
Criterion 18: « Sommet {n} de {nom} », « Ajouter un sommet après le sommet
{n} de {nom} », « Retirer le sommet {n} de {nom} » (EN « Vertex {n} of
{name} » …), {nom} the zone's display name in the current locale; the
handle group is a role="group" named « Sommets de {nom} ».
Tests: no assertion removed; every unit and e2e locator that read the old
names now reads the same handle with the zone name appended (fixtures: N,
Vertèbres thoraciques, Zone dessinée, Zone clavier). New unit tests in
editor-zone-edit cover the FR names, the group and the EN locale.
This commit is contained in:
1 parent
fab641c278
commit
b6aa2819ea
15 files changed
+165
-67
No files matched your search
@@ -185,7 +185,10 @@ the same layer, in this order: one « + » at the midpoint of each segment
|
||||
(wrapping from the last vertex to the first), then one vertex handle per
|
||||
vertex, then the « − » bubble of the chosen vertex, a rounded rectangle drawn
|
||||
just above that vertex. Each is a `role="button"` with `tabindex="0"`, so Tab and
|
||||
Shift+Tab walk them in document order. A « + » is not drawn while its segment
|
||||
Shift+Tab walk them in document order. They sit in one `<g role="group">` named
|
||||
« Sommets de {nom} »; each name carries the shape's display name in the current
|
||||
locale: « Sommet {n} de {nom} », « Ajouter un sommet après le sommet {n} de
|
||||
{nom} », « Retirer le sommet {n} de {nom} ». A « + » is not drawn while its segment
|
||||
is shorter than two hit radii on screen at the current zoom (R-9); Insert on
|
||||
a vertex still reaches it. The « − » bubble is `aria-disabled` and greyed
|
||||
while the polygon has three vertices. Above 40 vertices (`HANDLE_CAP`, T18)
|
||||
|
||||
Reference in new issue
Block a user