[wp-meta] [Making WordPress.org] #2292: read more/read less button on new plugin directory labeling
Making WordPress.org
noreply at wordpress.org
Sun Dec 4 19:18:14 UTC 2016
#2292: read more/read less button on new plugin directory labeling
------------------------------+------------------
Reporter: joedolson | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Resolution:
Keywords: needs-patch |
------------------------------+------------------
Comment (by joedolson):
For example,
{{{
<button
type="button"
class="button-link section-toggle"
aria-controls="description"
aria-expanded="false"
data-show-less="Show less"
data-read-more="Read more"
aria-describedby="description-header"
>Read more</button>
}}}
along with
{{{
<div
id="description"
class="section read-more"
>
<h2 id="description-header">Description</h2>
}}}
That would be the DRY solution, since it doesn't require additional
strings.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2292#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list