mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Add semantic heading to script editor (#13546)
This commit is contained in:
parent
2bf0c5d72d
commit
4511ded205
@ -331,11 +331,11 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) {
|
|||||||
`
|
`
|
||||||
: html`
|
: html`
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="name">
|
<h2 id="sequence-heading" class="name">
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
"ui.panel.config.script.editor.sequence"
|
"ui.panel.config.script.editor.sequence"
|
||||||
)}
|
)}
|
||||||
</div>
|
</h2>
|
||||||
<a
|
<a
|
||||||
href=${documentationUrl(
|
href=${documentationUrl(
|
||||||
this.hass,
|
this.hass,
|
||||||
@ -354,6 +354,8 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ha-automation-action
|
<ha-automation-action
|
||||||
|
role="region"
|
||||||
|
aria-labelledby="sequence-heading"
|
||||||
.actions=${this._config.sequence}
|
.actions=${this._config.sequence}
|
||||||
@value-changed=${this._sequenceChanged}
|
@value-changed=${this._sequenceChanged}
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user