Ghost/ghost/admin/app/components/modal-delete-integration.hbs
Marco Zehe 59fcc567f1 🐛 Fixed various Close buttons throughout the UI. (#1585)
refs TryGhost/Ghost#11863

Some `a`tags with `href` attributes that are empty are used as buttons, but since the href is not linkifying anything, they appear as text nodes to assistive technologies. Give them a `"button"` role so it is guaranteed that assistive technologies will pick them up as actionable controls.
2020-05-28 17:11:21 +01:00

18 lines
637 B
Handlebars

<header class="modal-header">
<h1>Are you sure?</h1>
</header>
<a class="close" href="" role="button" title="Close" {{action "closeModal"}}>{{svg-jar "close"}}<span class="hidden">Close</span></a>
<div class="modal-body">
<p>
Deleting this integration will remove all webhooks and api keys associated with it.
</p>
</div>
<div class="modal-footer">
<button {{action "closeModal"}} class="gh-btn"><span>Cancel</span></button>
<GhTaskButton
@buttonText="Delete Integration"
@successText="Deleted"
@task={{this.deleteIntegration}}
@class="gh-btn gh-btn-red gh-btn-icon" />
</div>