Issue Task New

#104106Add live region to announce checking other checkboxes in read and write permissions for table restrictions

Michael Telgkamp 06/14/24, 08:21 updated 11/20/26, 08:15

Description

Use polite live region and announce “Checkbox page read also checked” and respective “Checkbox page write also not checked”.

For the toggle options the announcement would be “All read checkboxes also checked” and respective “All write checkboxes also not checked”.

Hints:
- the live region must be emptied after a timeout to allow announcing the same value again for the next checkbox. This needs to have a timeout (see code below)
- assistive technologies use “not checked” instead of “unchecked” because the announcement is easier to recognize.

document.getElementById('liveregion').innerText='Checkbox page read also checked';
setTimeout(()=>{document.getElementById('liveregion').innerText='';},500);

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[TASK] Add live region to announce checking other checkboxes in read and write permissions for table restrictions Resolves: #104106 Releases: main

History 2

  1. Christian Rath-Ulrich commented <span data-processor="relativetime" data-value="2026-11-20T08:15:22+00:00" > 11/20/26, 08:15 </span>

    Michael Telgkamp wrote:
    > Use polite live region and announce “Checkbox page read also checked” and respective “Checkbox page write also not checked”.
    >
    > For the toggle options the announcement would be “All read checkboxes also checked” and respective “All write checkboxes also not checked”.
    >
    > Hints:
    > – the live region must be emptied after a timeout to allow announcing the same value again for the next checkbox. This needs to have a timeout (see code below)
    > – assistive technologies use “not checked” instead of “unchecked” because the announcement is easier to recognize.
    >
    >
    > […]

    The ticket describes the table-permissions UI from before TYPO3 13.3. On current main those checkboxes are gone, and the suggested sentences would announce a state the screen does not show.

    Since feature #103521, backend group table permissions are one tablePermission field on be_groups.tables_modify. tables_select is a hidden passthrough. Each table is a radio group, not two checkboxes:

    Value Label
    —- —-
    none No Access
    select Read
    modify Read & Write

    There is no live region. Choosing Read & Write stores the table in both hidden fields, but the Read radio stays off. Choosing Read drops write. Uncheck all or Toggle that leaves a row with no radio forces No Access and clears both fields. A single radio the user activates is already announced by the browser.

    The requested lines assume a second checkbox moves with the first (“Checkbox page read also checked”, “Checkbox page write also not checked”, and the “All … checkboxes” variants for the column actions). That visible coupling does not exist. “page” is not the label (pages / “Page”), the strings are hardcoded English, and getElementById(‘liveregion’) does not match typo3-formengine-element-tablepermission.

    What still applies is a polite live region that speaks after a bulk action or the forced No Access, then clears itself after a timeout so the same text can be announced again. The wording has to describe the new permission, in XLIFF, and only for changes the user did not just activate themselves.