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
34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
<!--<?php//for docblock, @see MCI_Footnotes_Template::process_template()
|
|
/**
|
|
* Footnote template to enable AMP compatibility mode.
|
|
*
|
|
* - Adding: Tooltips: make display work purely by style rules for AMP compatibility, thanks to @milindmore22 code contribution.
|
|
* - Bugfix: Tooltips: enable accessibility by keyboard navigation, thanks to @westonruter code contribution.
|
|
*
|
|
* @since 2.5.11 (draft)
|
|
*
|
|
* @contributor @milindmore22
|
|
* @link @link https://github.com/ampproject/amp-wp/issues/5913#issuecomment-785306933
|
|
*
|
|
* @contributor @westonruter
|
|
* @link https://github.com/ampproject/amp-wp/issues/5913#issuecomment-785419655
|
|
*/?>
|
|
-->
|
|
<span
|
|
class="footnote_referrer relative"
|
|
><[[link-span]]
|
|
role="button"
|
|
tabindex="0"
|
|
[[hard-link]]
|
|
><[[sup-span]]
|
|
id="footnote_plugin_tooltip_[[post_id]]_[[container_id]]_[[note_id]]"
|
|
class="footnote_plugin_tooltip_text"
|
|
>[[before]][[index]][[after]]</[[sup-span]]
|
|
></[[link-span]]
|
|
>[[anchor-element]]<span
|
|
id="footnote_plugin_tooltip_text_[[post_id]]_[[container_id]]_[[note_id]]"
|
|
class="footnote_tooltip position"
|
|
[[style]]
|
|
>[[text]]</span
|
|
></span
|
|
>
|