7aa9d8803f
On top of 2.6.0d7. Debugs Footnotes for all input field values with footnotes coming in from field label. Preparing unreleased tagged v2.5.11 in response to Forum support request. Accessibility fixes and AMP compat enhancements not fully debugged yet, draft only. git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2499807 b8457f37-d9ea-0310-8a92-e5e31aec5664
46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
<!--<?php//for docblock, @see MCI_Footnotes_Template::process_template()
|
|
/**
|
|
* AMP compatible table row template with legacy extra column for backlink symbol, uncombined footnotes.
|
|
*
|
|
* @since 2.5.11 (draft)
|
|
*
|
|
* - Bugfix: Reference container: apply web semantics to improve readability for assistive technologies, thanks to @derivationfr issue report and code contribution.
|
|
*
|
|
* @since 2.5.11
|
|
*
|
|
* @contributor @derivationfr
|
|
* @link https://wordpress.org/support/topic/enhance-accesibility-by-using-instead-of/
|
|
* @link https://a11y-101.com/development/tables
|
|
*
|
|
* For assistive technologies to improve accessibility by reading tables in a meaningful manner,
|
|
* the tables must be marked up properly using table header elements for header rows and header
|
|
* columns as applicable.
|
|
* The table caption must also be present for screen readers but may be hidden to sighted users.
|
|
*/?>
|
|
-->
|
|
<tr class="footnotes_plugin_reference_row">
|
|
<th
|
|
scope="row"
|
|
class="footnote_plugin_index"
|
|
><[[link-span]]
|
|
role="button"
|
|
tabindex="0"
|
|
id="footnote_plugin_reference_[[post_id]]_[[container_id]]_[[note_id]]"
|
|
class="footnote_index"
|
|
[[hard-link]]
|
|
>[[index]][[terminator]]</[[link-span]]
|
|
>[[anchor-element]]</td
|
|
>
|
|
<td
|
|
class="footnote_plugin_symbol"
|
|
><[[link-span]]
|
|
class="footnote_backlink"
|
|
[[hard-link]]
|
|
>[[arrow]]</[[link-span]]
|
|
></td
|
|
>
|
|
<td
|
|
class="footnote_plugin_text"
|
|
>[[text]]</td
|
|
>
|
|
</tr>
|