fix(web): label Monitor toggle for a11y + correct Settings eyebrow
This commit is contained in:
@@ -156,7 +156,7 @@ export function SettingsForm() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<PageHead title="Settings" eyebrow="Credentials · library · discovery" />
|
<PageHead title="Settings" eyebrow="Credentials · library · monitor · discovery" />
|
||||||
|
|
||||||
<div className="tabs">
|
<div className="tabs">
|
||||||
{TABS.map((t) => (
|
{TABS.map((t) => (
|
||||||
@@ -272,6 +272,7 @@ export function SettingsForm() {
|
|||||||
<label className="toggle">
|
<label className="toggle">
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
|
aria-label="automatic monitoring"
|
||||||
checked={monitorCfg["monitor.enabled"] === "true"}
|
checked={monitorCfg["monitor.enabled"] === "true"}
|
||||||
onChange={(e) => setMon("monitor.enabled", e.target.checked ? "true" : "false")}
|
onChange={(e) => setMon("monitor.enabled", e.target.checked ? "true" : "false")}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user