Repository navigation
fix(backups): warn when a restore makes a project public - #23193
Conversation
A public-only workspace plan can make a non-public project accessible even when the backup contains no restricted components. Warn in the import preview and report the actual access change on completion. Fixes #23180
There was a problem hiding this comment.
Found 2 issues across 1 rule.
Reviewed by AccessLint, which checks every pull request for accessibility issues.
| {% endif %} | ||
| {% if restricted_components %} | ||
| <p>{% translate "If the selected workspace's billing plan requires public content, the following restricted components will be publicly accessible after import:" %}</p> | ||
| <ul> |
There was a problem hiding this comment.
WCAG 1.3.1: <ul> contains direct text content. Wrap in <li> or <style>.
<ul> and <ol> must only contain <li>, <script>, <template>, or <style> as direct children.
Details
Screen readers announce list structure ('list with 5 items') based on proper markup. Placing non-<li> elements directly inside <ul> or <ol> breaks this structure. Wrap content in <li> elements, or if you need wrapper divs for styling, apply styles to <li> elements directly and remove the wrapper (e.g., change <ul>``<div>item</div>``</ul> to <ul>``<li>item</li>``</ul>).
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
A public-only workspace plan can make a non-public project accessible even when the backup contains no restricted components. Warn in the import preview and report the actual access change on completion.
Fixes #23180