Added aria roles, removed unnecessary label tag
This commit is contained in:
parent
c76c29be90
commit
13a1074602
1 changed files with 27 additions and 25 deletions
|
@ -1,14 +1,16 @@
|
||||||
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||||
|
|
||||||
<#assign toBeDeletedClass = "dataProp" />
|
<#assign toBeDeletedClass = "dataProp" />
|
||||||
|
|
||||||
<#if editConfiguration.objectProperty = true>
|
<#if editConfiguration.objectProperty = true>
|
||||||
<#assign toBeDeletedClass = "objProp" />
|
<#assign toBeDeletedClass = "objProp" />
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#assign statement = editConfiguration.statementDisplay />
|
<#assign statement = editConfiguration.statementDisplay />
|
||||||
|
|
||||||
<form action="${editConfiguration.deleteProcessingUrl}" method="get">
|
<form action="${editConfiguration.deleteProcessingUrl}" method="get">
|
||||||
<label for="submit">
|
<h2>Are you sure you want to delete the following entry from <em>${editConfiguration.propertyName}</em>?</h2>
|
||||||
<h2>Are you sure you want to delete the following entry from
|
|
||||||
<em>${editConfiguration.propertyName}</em>?
|
|
||||||
</h2>
|
|
||||||
</label>
|
|
||||||
<div class="toBeDeleted ${toBeDeletedClass}">
|
<div class="toBeDeleted ${toBeDeletedClass}">
|
||||||
<#if editConfiguration.objectProperty = true>
|
<#if editConfiguration.objectProperty = true>
|
||||||
<#if statement.object?has_content>
|
<#if statement.object?has_content>
|
||||||
|
@ -18,25 +20,25 @@
|
||||||
${statement.dataValue}
|
${statement.dataValue}
|
||||||
</#if>
|
</#if>
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" name="subjectUri" value="${editConfiguration.subjectUri}"/>
|
|
||||||
<input type="hidden" name="predicateUri" value="${editConfiguration.predicateUri}"/>
|
<input type="hidden" name="subjectUri" value="${editConfiguration.subjectUri}" role="input"/>
|
||||||
|
<input type="hidden" name="predicateUri" value="${editConfiguration.predicateUri}" role="input"/>
|
||||||
|
|
||||||
<#if editConfiguration.dataProperty = true>
|
<#if editConfiguration.dataProperty = true>
|
||||||
<input type="hidden" name="datapropKey" value="${editConfiguration.datapropKey}" />
|
<input type="hidden" name="datapropKey" value="${editConfiguration.datapropKey}" role="input"/>
|
||||||
<input type="hidden" name="vitroNsProp" value="${editConfiguration.vitroNsProperty}" />
|
<input type="hidden" name="vitroNsProp" value="${editConfiguration.vitroNsProperty}" role="input"/>
|
||||||
<#else>
|
<#else>
|
||||||
<input type="hidden" name="objectUri" value="${editConfiguration.objectUri}"/>
|
<input type="hidden" name="objectUri" value="${editConfiguration.objectUri}" role="input"/>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
|
|
||||||
<#if editConfiguration.objectProperty = true>
|
<#if editConfiguration.objectProperty = true>
|
||||||
<p class="submit">
|
<p class="submit">
|
||||||
</#if>
|
</#if>
|
||||||
<input type="submit" id="delete" value="Delete"/>
|
<input type="submit" id="delete" value="Delete" role="button"/>
|
||||||
or
|
or
|
||||||
<a class="cancel" title="Cancel" href="${editConfiguration.cancelUrl}">Cancel</a>
|
<a class="cancel" title="Cancel" href="${editConfiguration.cancelUrl}">Cancel</a>
|
||||||
<#if editConfiguration.objectProperty = true>
|
<#if editConfiguration.objectProperty = true>
|
||||||
</p>
|
</p>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
</form>
|
</form>
|
Loading…
Add table
Reference in a new issue