Hero-module: Functional Design, NFR Requirements, NFR Design en Infrastructure Design (H1-H5)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+72
@@ -0,0 +1,72 @@
|
||||
# Functional Design: business logic model (units H1 to H5)
|
||||
|
||||
Bundled for all units; answers of Bryan (2026-11-16) are applied. Names refer to `application-design/`. HTML for the region and preload is defined by the ASF golden files (`web/contract/host-injection/hero/`, commit 13f78c4), which are authoritative.
|
||||
|
||||
## H1. Image pipeline
|
||||
|
||||
### Upload admission (`IMediaUploadGuard.AdmitAsync`)
|
||||
|
||||
1. Reject at once when the declared length is above the maximum (10 MB) or the stream turns out longer (read through a counting stream, stop at the limit).
|
||||
2. Read the first bytes and decide the format from the **signature**, never from a name or `Content-Type`: JPEG, PNG, GIF, BMP, TIFF (both byte orders), WebP (`RIFF....WEBP`), and the ISO-BMFF family for AVIF and HEIC/HEIF (`ftyp` with brand `avif`, `avis`, `heic`, `heix`, `hevc`, `mif1`, `msf1`). Anything else (SVG, PDF, executables, text) is rejected as `unsupported_format`.
|
||||
3. Inspect through the library with an explicit format and resource limits: pixel size, frame count. Reject `too_many_pixels` (above the pixel ceiling), `corrupt` (decode error), `timeout`.
|
||||
4. Animated input (GIF, WebP, AVIF sequences) is reduced to the first frame.
|
||||
5. Wait for a free processing slot (at most `MaxParallelJobs`); when none frees within a few seconds answer `busy` (HTTP 429).
|
||||
|
||||
### Render planning (pure)
|
||||
|
||||
For an image of `W x H` pixels, a ratio `r = n:d`, a focus setting `(fx, fy, z)` (centre `0.5, 0.5` and `z = 1` by default; a ratio may have its own setting, otherwise the general one applies):
|
||||
|
||||
- The **largest crop** of ratio `r` inside the image: `cw0 x ch0` (if `W/H > n/d` then `ch0 = H`, `cw0 = ch0 * n / d`, else `cw0 = W`, `ch0 = cw0 * d / n`).
|
||||
- With zoom `z >= 1` the crop is `cw = cw0 / z` by `ch = ch0 / z`.
|
||||
- The crop is centred on the point `(fx * W, fy * H)` and then moved the smallest amount needed to lie inside the image. So the subject stays as close to the centre of the crop as the image allows, and a crop never leaves the image.
|
||||
- Widths: from the configured steps for the ratio (`wide`: 640, 960, 1280, 1600, 2560; `tall`: 480, 640, 960, 1280) keep those `<= cw` (never upscale). If none is `<= cw`, one variant at `cw` is made. The height is `round(width * d / n)`.
|
||||
- Formats per width: WebP always; AVIF when the processor reports AVIF output; the page-critical HTML uses WebP only (contract).
|
||||
- Quality: WebP 80, AVIF 50. Metadata is removed from every output; EXIF orientation is applied before cropping.
|
||||
|
||||
### Set hash and addresses
|
||||
|
||||
`setHash` = first 16 hex characters of SHA-256 over the canonical string `sha256-of-original | wide:fx,fy,z | tall:fx,fy,z` (numbers rounded to 4 decimals, invariant culture). A change of focus therefore gives a new set and new addresses; an identical upload of the same photo with the same focus gives the same set (no second copy is stored). Variant file name: `<ratio>-<width>.<ext>` (`wide-1600.webp`, `tall-960.avif`); address `/media/hero/<setHash>/<name>`.
|
||||
|
||||
### Self-test at start-up
|
||||
|
||||
The processor decodes and encodes a tiny embedded image in every supported format and logs the capability list (input and output formats, library version). A failure marks the processor unavailable: uploads answer 503 with a generic message; reading and publishing are unaffected.
|
||||
|
||||
## H3. Media store and serving
|
||||
|
||||
- **Keys**: variants `hero/<setHash>/<ratio>-<width>.<ext>`; originals `originals/<sha256>.<ext>` (never served). Only keys made by the code exist; a client file name is never used in a path.
|
||||
- **Write**: a set is written to a temporary directory next to the target and moved into place with one rename; a half-written set is never visible.
|
||||
- **Serve** `GET|HEAD /media/{**path}`: the path must match `^hero/[0-9a-f]{16}/(wide|tall)-[0-9]{2,5}\.(webp|avif|jpg)$` (area pattern from a registered allow-list, so other areas can register their own); otherwise 404. Headers: `Content-Type` from the extension, `Cache-Control: public, max-age=31536000, immutable`, strong `ETag` (from the set hash and name), `X-Content-Type-Options: nosniff`, `Vary: Accept-Encoding` not needed (images are not recompressed). `If-None-Match` equal gives 304. Rate limit policy `media-public`.
|
||||
- **Clean-up** (hosted service, daily): removes sets and originals that no image row references and that are older than 7 days (a retired set is stamped when it stops being referenced; the files go 7 days later). Never removes a referenced file.
|
||||
- **Free space and size**: before writing, check free space (at least the expected output plus a margin) and the total size of the media directory against the safety limit `Media:MaxTotalBytes`; refuse with a generic message when exceeded.
|
||||
|
||||
## H2. Hero backend
|
||||
|
||||
### Save (`PUT /api/v1/hero`, whole hero replaced)
|
||||
|
||||
Input: hero fields, buttons, display, schedule, slide list in order (`id` optional for a new slide, `imageId`, `alt`, `decorative`, `isActive`). In one transaction: validate everything, update the hero, upsert slides, remove slides no longer listed, renumber the order, record actor and time. Afterwards `IIndexHtmlCache.Invalidate()`.
|
||||
|
||||
### Public read model (`PublicHeroService.GetActiveAsync`)
|
||||
|
||||
Returns null (204) when: no hero row for the language, `IsActive` false, `now` before `StartsAt` or at or after `EndsAt`, or the hero has no title. Otherwise: only active slides that have a stored image; a slide without alt that is not decorative is **not** published (the admin does not allow saving it anyway); order as saved. Each slide carries the general focus, plus the per-ratio overrides, and all stored variants (WebP and AVIF) with their ratio, width, type and address. The result is also what the HTML transform and the data block use, so the three always agree.
|
||||
|
||||
### Image operations
|
||||
|
||||
- **Upload** (`POST /api/v1/hero/images`): guard, store original, render the planned sets for the default focus, save the row, return the image with its variants.
|
||||
- **Set focus** (`PUT /api/v1/hero/images/{id}/focus`): validate ranges (`0..1`, zoom `1..4`), compute the new set hash, render the sets into new addresses, update the row, stamp the old set as retired; the slides keep pointing at the same image id.
|
||||
- **Delete** (`DELETE /api/v1/hero/images/{id}`): refused with 409 and a clear message while any slide uses the image (Bryan, Q1); otherwise the row goes and its set and original are stamped retired.
|
||||
|
||||
## H4. Injection
|
||||
|
||||
Order of work for a page that mentions hero markers: get `PublicHeroDto?` once per request cycle; if null, leave regions and preload as baked (and the data block carries `"hero": null`); otherwise:
|
||||
|
||||
1. `HERO-HTML` region: exactly the ASF golden rules (title lines with `<br>`, tagline span, buttons, first kept slide as `<picture>`; slides skipped when they have no alt and are not decorative, a path outside our host, or no size; WebP only; `object-position` from the focus of the ratio that the `img` shows, i.e. the general focus).
|
||||
2. `HERO-PRELOAD` region in the head: one preload for `tall` with `media="(orientation: portrait)"` and one for `wide` with `media="(orientation: landscape)"` when both exist; one without `media` when only one ratio exists; `srcset`, `sizes`, `media` byte-equal to the picture.
|
||||
3. Data block: key `hero` with the whole `PublicHeroDto` (all slides) in the shared block.
|
||||
|
||||
Fail-open: any exception, an unreadable hero or a missing marker leaves that part as baked; a failing data-block contributor leaves the whole block as baked.
|
||||
|
||||
**Safety ceiling for unlimited slides** (Bryan: no administrator limit, a technical ceiling only): the hero endpoint, the HTML transform and the data block never emit more than `Hero:MaxPublishedSlides` slides (default 50, configurable) so the first HTML and the data block cannot grow without bound; when a hero has more active slides the first 50 in order are published and the admin shows a notice. The ceiling is reported to Bryan; LCP and page weight stay leading (the first HTML contains only the first slide).
|
||||
|
||||
## H5. Admin
|
||||
|
||||
Screens and states are in `frontend-components.md`; the admin only shows a **live badge** (Bryan, Q5): "Live" or "Niet live" with the schedule dates, no long reason text. Uploads are limited per user (20 per hour). Every validation message comes from the server (`ProblemDetails`-style error with a field) and is shown at the field.
|
||||
@@ -0,0 +1,70 @@
|
||||
# Functional Design: business rules (units H1 to H5)
|
||||
|
||||
IDs are used in the code, tests and the build and test summary.
|
||||
|
||||
## Hero content (H2)
|
||||
|
||||
| ID | Rule |
|
||||
|---|---|
|
||||
| BR-H01 | One hero per language; the language defaults to `nl`. `Language` is unique. Only `nl` is exposed and edited now. |
|
||||
| BR-H02 | `title` required (after trimming), at most 200 characters and at most 5 lines; line breaks are `\n` (`\r\n` is normalised). Plain text. |
|
||||
| BR-H03 | `tagline` optional, at most 120 characters, single line (line breaks are replaced by a space). `lead` optional, at most 600 characters, line breaks kept. |
|
||||
| BR-H04 | `display` is `single` or `slideshow`; default `single`; any other value is rejected. |
|
||||
| BR-H05 | 0 to 2 buttons. Both `label` (1 to 50 characters) and `target` (at most 500) are required for a button; a half-filled button is rejected. |
|
||||
| BR-H06 | A target is exactly one of: **anchor** `#` followed by a letter and then letters, digits, `-` or `_` (at most 100 characters); **path** starting with a single `/` (not `//`), no `\`, no control characters, no whitespace, no `:` before the first `/`; **https address** with the scheme `https`, a host, no user info, parsed as an absolute URI. Anything else is rejected with the message "Kies een #anker, een /pad of een https://-adres." |
|
||||
| BR-H07 | Schedule: `startsAt` and `endsAt` optional; when both exist `endsAt` must be after `startsAt`. Stored in UTC; displayed in the admin in local time. |
|
||||
| BR-H08 | Text in every field is plain text. The server stores it as typed (control characters other than the line break are removed) and encodes it when writing HTML (`& < > " '`) and JSON in a script element (`< > &` and U+2028/2029 as `\uXXXX`). No field can produce markup or script. |
|
||||
| BR-H09 | Slides: no administrator limit on the number. Each slide has an existing image, `alt` (at most 300 characters) or `decorative = true`, an order, and `isActive`. A slide that is not decorative needs a non-empty alt to be saved. `decorative` and a non-empty alt together are accepted; the alt is then ignored when published. |
|
||||
| BR-H10 | Technical safety ceiling: at most `Hero:MaxPublishedSlides` (default 50) slides are published; the rest stay saved. Reported to Bryan (see the logic model). |
|
||||
| BR-H11 | Saving replaces the whole hero (one transaction). A slide id the caller sends must belong to this hero; unknown ids are rejected. Slides not listed are removed. |
|
||||
| BR-H12 | Actor and time of every change are stored (`UpdatedBy`, `UpdatedAt`) and logged. |
|
||||
|
||||
## Public availability (H2, H4)
|
||||
|
||||
| ID | Rule |
|
||||
|---|---|
|
||||
| BR-P01 | The public hero exists only when the hero `isActive`, now is within the schedule (start inclusive, end exclusive), the title is non-empty. Otherwise 204 and the baked hero stays. |
|
||||
| BR-P02 | Only active slides with a stored image are published, in saved order. |
|
||||
| BR-P03 | `GET /api/v1/hero` answers with `Cache-Control: public, max-age=60`, rate-limited (policy `hero-public`, 120 per 60 s), anonymous, through the availability gate. |
|
||||
| BR-P04 | The HTML region, the preload and the data block are derived from the same read model per request cycle. |
|
||||
|
||||
## Images (H1, H2)
|
||||
|
||||
| ID | Rule |
|
||||
|---|---|
|
||||
| BR-I01 | Upload only for Administrator and higher; at most 20 uploads per user per hour; body at most 10 MB. |
|
||||
| BR-I02 | The format is decided from the signature (see the logic model); not on the allow-list = `unsupported_format`. SVG is never accepted. |
|
||||
| BR-I03 | Pixel ceiling `Media:MaxPixels` (default 64 million) and a side ceiling of 16 384 pixels; decode timeout `Media:DecodeTimeoutSeconds` (default 20). |
|
||||
| BR-I04 | Metadata (EXIF including GPS, XMP, IPTC, embedded thumbnails) is never written to an output file; the original is also stored without GPS (the stored original is re-encoded without metadata only when it contains GPS or other metadata; the pixel data are not altered otherwise). |
|
||||
| BR-I05 | Output never exceeds the source size (no upscaling); every ratio gets at least one variant. |
|
||||
| BR-I06 | Focus values: `x` and `y` between 0 and 1, `zoom` between 1 and 4; an invalid value is rejected. The default is the centre (0.5, 0.5) and zoom 1 for every ratio. A ratio override is optional; without it the general setting applies. |
|
||||
| BR-I07 | An image used by a slide cannot be deleted (409, "Deze afbeelding wordt nog gebruikt door een slide."). |
|
||||
| BR-I08 | Retired files (old sets, deleted images) are removed after 7 days by the clean-up; referenced files are never removed. |
|
||||
| BR-I09 | Rejection reasons are stable codes (`too_large`, `unsupported_format`, `corrupt`, `too_many_pixels`, `timeout`, `busy`, `unavailable`); the messages shown come from the texts files, with no file names or internals. |
|
||||
|
||||
## Media serving (H3)
|
||||
|
||||
| ID | Rule |
|
||||
|---|---|
|
||||
| BR-M01 | Only addresses that match the registered area pattern are served; everything else is a 404 without detail. |
|
||||
| BR-M02 | Served files carry the immutable cache header, a strong ETag and `nosniff`; `HEAD` and 304 are supported. |
|
||||
| BR-M03 | Writes are atomic per set; a failed write leaves nothing visible. |
|
||||
| BR-M04 | A start-up check proves the media directory exists and is writable; if not, uploads are refused (503) and an error is logged; public reads of existing files and the public hero keep working. |
|
||||
|
||||
## Injection (H4)
|
||||
|
||||
| ID | Rule |
|
||||
|---|---|
|
||||
| BR-J01 | The output must equal the ASF golden files byte for byte (six cases: standard, minimal, two-lines, hostile, no-alt, none). |
|
||||
| BR-J02 | Only WebP in the picture and the preload; the `img` has the original `width` and `height`; `fetchpriority="high"`; the `object-position` from the general focus, formatted without trailing zeros and at most two decimals; no `style` without a valid focus. |
|
||||
| BR-J03 | Fail-open per part; a failing contributor leaves the whole data block as baked. |
|
||||
| BR-J05 | Before writing the hero into a page the transform checks that the first kept slide's variant files exist in the store; when they do not, regions and preload stay as baked. |
|
||||
| BR-J04 | The Offerings output stays byte-identical after the change to the shared data block (existing golden files stay green). |
|
||||
|
||||
## Admin (H5)
|
||||
|
||||
| ID | Rule |
|
||||
|---|---|
|
||||
| BR-A01 | The Hero screen shows a badge "Live" or "Niet live" (with the schedule dates) and nothing more about the reason. |
|
||||
| BR-A02 | The focus editor shows `wide` and `tall` previews cut with the same maths as the host (a TypeScript twin tested with the same vectors). A ratio can be reset to "use the general point". |
|
||||
| BR-A03 | Upload errors show the server message at the upload control; validation errors at the field. |
|
||||
@@ -0,0 +1,75 @@
|
||||
# Functional Design: domain entities (units H1 to H5)
|
||||
|
||||
Database: one new migration in the Hero module's own DbContext (MariaDB, hand-written like the Offerings migrations). Tables use the prefix `Hero`.
|
||||
|
||||
## Tables
|
||||
|
||||
### `Heroes`
|
||||
|
||||
| Column | Type | Notes |
|
||||
|---|---|---|
|
||||
| `Id` | `char(36)` | primary key |
|
||||
| `Language` | `varchar(10)` | default `nl`, unique |
|
||||
| `Title` | `varchar(1000)` | max 200 chars by validation; room for 5 lines |
|
||||
| `Tagline` | `varchar(200)` | max 120 |
|
||||
| `Lead` | `varchar(1000)` | max 600 |
|
||||
| `Display` | `varchar(20)` | `single` or `slideshow` |
|
||||
| `Button1Label`, `Button1Target`, `Button2Label`, `Button2Target` | `varchar(100)` / `varchar(500)` | nullable pairs |
|
||||
| `StartsAt`, `EndsAt` | `datetime(6)` | nullable, UTC |
|
||||
| `IsActive` | `bit` | default true |
|
||||
| `UpdatedAt` | `datetime(6)` | UTC |
|
||||
| `UpdatedBy` | `varchar(256)` | actor id or name |
|
||||
|
||||
### `HeroImages`
|
||||
|
||||
| Column | Type | Notes |
|
||||
|---|---|---|
|
||||
| `Id` | `char(36)` | primary key |
|
||||
| `OriginalSha256` | `char(64)` | content hash of the stored original |
|
||||
| `OriginalKey` | `varchar(200)` | `originals/<sha256>.<ext>` |
|
||||
| `SourceFormat` | `varchar(10)` | `jpeg`, `png`, ... |
|
||||
| `Width`, `Height` | `int` | original pixel size |
|
||||
| `Bytes` | `bigint` | size of the stored original |
|
||||
| `FocusX`, `FocusY`, `Zoom` | `double` | general setting; default 0.5, 0.5, 1 |
|
||||
| `WideFocusX`, `WideFocusY`, `WideZoom` | `double?` | optional override |
|
||||
| `TallFocusX`, `TallFocusY`, `TallZoom` | `double?` | optional override |
|
||||
| `SetHash` | `char(16)` | current set |
|
||||
| `VariantsJson` | `json`/`longtext` | list of `{ratio, width, height, type, key, bytes}` of the current set |
|
||||
| `RetiredSetsJson` | `longtext` | previous sets with their retire time (for the 7-day clean-up) |
|
||||
| `CreatedAt`, `CreatedBy` | `datetime(6)`, `varchar(256)` | |
|
||||
|
||||
### `HeroSlides`
|
||||
|
||||
| Column | Type | Notes |
|
||||
|---|---|---|
|
||||
| `Id` | `char(36)` | primary key, stable id used by the sites |
|
||||
| `HeroId` | `char(36)` | foreign key, cascade delete |
|
||||
| `ImageId` | `char(36)` | foreign key, restrict (deleting an image in use is refused) |
|
||||
| `Alt` | `varchar(600)` | max 300 chars by validation |
|
||||
| `Decorative` | `bit` | |
|
||||
| `SortOrder` | `int` | unique per hero |
|
||||
| `IsActive` | `bit` | |
|
||||
|
||||
Indexes: `Heroes(Language)` unique; `HeroSlides(HeroId, SortOrder)` unique; `HeroSlides(ImageId)`.
|
||||
|
||||
## Public DTOs (shape fixed in `component-methods.md`)
|
||||
|
||||
`PublicHeroDto { display, title, tagline, lead, buttons[], slides[] }`, `PublicSlideDto { id, alt, decorative, image }`, `PublicImageDto { width, height, focus{x,y,zoom}, focusByRatio?, src, srcset?, variants[] }`, `PublicVariantDto { ratio, width, height, type, url }`. `focusByRatio` is present only when an override exists. Fields that are null are written as JSON null (like the offerings data); the shapes match the ASF golden inputs (`web/contract/host-injection/hero/*.input.json`).
|
||||
|
||||
## Pure value types (H1, Core.Media)
|
||||
|
||||
`ImageFormat` (enum), `ImageInfo { Format, Width, Height, FrameCount }`, `Ratio`, `FocusSetting`, `CropRect { X, Y, Width, Height }`, `VariantSpec { Ratio, Width, Height, Format, Quality }`, `RenderedImage { Bytes, Width, Height, Format }`, `MediaAddress { Area, SetHash, Name }`.
|
||||
|
||||
## Configuration
|
||||
|
||||
| Key | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `Media:Directory` | none (required for uploads) | the media directory outside the release |
|
||||
| `Media:MaxUploadBytes` | 10 485 760 | upload limit |
|
||||
| `Media:MaxPixels` | 64 000 000 | pixel ceiling |
|
||||
| `Media:MaxParallelJobs` | 2 | processing slots |
|
||||
| `Media:DecodeTimeoutSeconds` | 20 | per image |
|
||||
| `Media:MaxTotalBytes` | 2 147 483 648 | safety limit of the directory |
|
||||
| `Media:RetentionDays` | 7 | retired files |
|
||||
| `Hero:MaxPublishedSlides` | 50 | technical ceiling on published slides |
|
||||
| `RateLimiting:HeroPublic`, `MediaPublic`, `HeroUpload` | 120/60 s, 600/60 s, 20/hour per user | policies |
|
||||
@@ -0,0 +1,44 @@
|
||||
# Functional Design: admin screens (unit H5)
|
||||
|
||||
New navigation item "Hero" (visible when `/api/v1/System/capabilities` lists the Hero module; for the Administrator role and higher). Follows the existing admin conventions (React Query, `nl` and `en` translation files, the Offerings feature as the pattern). Admin texts live in the frontend translation files.
|
||||
|
||||
## Screen: Hero
|
||||
|
||||
```
|
||||
[Hero] [Live | Niet live van .. tot ..]
|
||||
-------------------------------------------------------------------------------
|
||||
Tekst Titel (meerdere regels) Tagline Lead
|
||||
Weergave ( ) Enkel ( ) Diavoorstelling
|
||||
Knoppen Knop 1: label + doel Knop 2: label + doel (0 tot 2)
|
||||
Planning Aan/uit Van ... Tot ...
|
||||
-------------------------------------------------------------------------------
|
||||
Slides [+ Afbeelding toevoegen]
|
||||
#1 [thumb] alt-tekst / decoratief aan/uit omhoog omlaag [Focus] [Verwijder]
|
||||
#2 ...
|
||||
-------------------------------------------------------------------------------
|
||||
[Opslaan]
|
||||
```
|
||||
|
||||
- **Badge** (Bryan, Q5): "Live" or "Niet live" with the schedule dates; no reason text. It reflects the public rules (active, within the schedule, a title, at least one usable slide) as computed by the server (`GET /hero/all` returns `isLive`).
|
||||
- **Form** validates on the server; messages come back per field and are shown at the field. A button target hint shows the three accepted forms. A slide without alt text and not marked decorative blocks saving, with the message at that slide.
|
||||
- **Slides** are listed in order; reorder with up and down buttons (keyboard accessible); on/off per slide; the number is not limited in the screen (a notice appears above the safety ceiling).
|
||||
- **Upload**: a file picker and a drop area; shows the accepted formats (from the server's capability list) and the 10 MB limit; progress; the server message on rejection (`unsupported_format`, `too_large`, `corrupt`, `too_many_pixels`, `busy`, `unavailable`).
|
||||
- **Delete** of an image or slide: a confirmation; the server refuses an image still in use (409) and the screen shows the message.
|
||||
|
||||
## Dialog: Focus
|
||||
|
||||
- The image with a draggable focus point (keyboard: arrow keys move by 1%, with shift by 5%), a zoom slider (1 to 4), the numeric values, and two live previews: `wide` (3:2) and `tall` (4:5), each cut exactly as the host will cut (shared maths, TypeScript twin of `FocusMath` with the same test vectors).
|
||||
- Tabs or toggles: "Algemeen punt" (default centre) and optional "Alleen wide" / "Alleen tall" overrides; a "Gebruik algemeen punt" reset per ratio.
|
||||
- Save sends `PUT /api/v1/hero/images/{id}/focus`; the previews update from the response variants.
|
||||
|
||||
## States
|
||||
|
||||
Loading, empty (no hero yet: an empty form with the button "Opslaan"), saving, error (server messages), saved. Unsaved-changes warning when leaving the screen.
|
||||
|
||||
## API used
|
||||
|
||||
`GET /api/v1/hero/all`, `PUT /api/v1/hero`, `POST /api/v1/hero/images` (multipart), `PUT /api/v1/hero/images/{id}/focus`, `DELETE /api/v1/hero/images/{id}`, `GET /api/v1/System/capabilities`.
|
||||
|
||||
## Accessibility and tests
|
||||
|
||||
Labels and descriptions on all fields, focus management in the dialog, keyboard operation of reorder and focus point, `aria-live` for save and upload results. Tests: component tests (form validation display, slide reorder, upload errors, badge), the `focusMath` vectors shared with the C# tests, and an interaction test for the focus dialog.
|
||||
Reference in New Issue
Block a user