minor screen reader improvements
This commit is contained in:
@@ -7,7 +7,7 @@ export function batchAccordion(pageData) {
|
||||
},
|
||||
t.summary(
|
||||
null,
|
||||
t.i({ className: "ri-archive-stack-line" }),
|
||||
t.i({ className: "ri-archive-stack-line", ariaHidden: true }),
|
||||
t.span({ className: "txt" }, "Batch API"),
|
||||
t.div({ className: "flex-fill" }),
|
||||
() => {
|
||||
|
||||
@@ -179,7 +179,9 @@ export function pageApplicationSettings() {
|
||||
t.span({ className: "txt" }, "Hide/Lock collection and record controls"),
|
||||
t.i({
|
||||
className: "ri-information-line link-hint",
|
||||
ariaDescription: app.attrs.tooltip("To prevent accidental changes when in production environment, collections create and update buttons will be hidden.\nRecords update will also require an extra unlock step before save.")
|
||||
ariaDescription: app.attrs.tooltip(
|
||||
"To prevent accidental changes when in production environment, collections create and update buttons will be hidden.\nRecords update will also require an extra unlock step before save.",
|
||||
),
|
||||
}),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -214,7 +214,7 @@ export function rateLimitAccordion(pageData) {
|
||||
},
|
||||
t.summary(
|
||||
null,
|
||||
t.i({ className: "ri-pulse-fill" }),
|
||||
t.i({ className: "ri-pulse-fill", ariaHidden: true }),
|
||||
t.span({ className: "txt" }, "Rate limiting"),
|
||||
t.div({ className: "flex-fill" }),
|
||||
() => {
|
||||
@@ -397,7 +397,7 @@ export function rateLimitAccordion(pageData) {
|
||||
className: "btn secondary sm",
|
||||
onclick: () => newRule(),
|
||||
},
|
||||
t.i({ className: "ri-add-line" }),
|
||||
t.i({ className: "ri-add-line", ariaHidden: true }),
|
||||
t.span({ className: "txt" }, "Add rate limit rule"),
|
||||
),
|
||||
t.button(
|
||||
|
||||
@@ -52,7 +52,7 @@ export function trustedProxyAccordion(pageData) {
|
||||
},
|
||||
t.summary(
|
||||
null,
|
||||
t.i({ className: "ri-route-line" }),
|
||||
t.i({ className: "ri-route-line", ariaHidden: true }),
|
||||
t.span({ className: "txt" }, "User IP proxy headers"),
|
||||
() => {
|
||||
if (proxyInfo.isLoading) {
|
||||
|
||||
Reference in New Issue
Block a user