[wp-meta] [Making WordPress.org] #4473: Glossary tooltips break HTML markup
Making WordPress.org
noreply at wordpress.org
Sun May 26 01:11:31 UTC 2019
#4473: Glossary tooltips break HTML markup
--------------------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: Make (Get Involved) / P2 | Keywords: has-screenshots
--------------------------------------+-----------------------------
On https://make.wordpress.org/polyglots/teams/, there's this part of a
sentence:
{{{
...or contact the translation editor(s) for your language using the “Team”
link.
}}}
The new glossary tooltips interfere with the page, causing invalid markup
and display issues:
{{{
or contact the <span tabindex='0' class='glossary-item-
container'>translation editor<span class='glossary-item-hidden-
content'><span class='glossary-item-header'>Translation Editor</span>
<span class='glossary-item-description'>Translation editors can approve
translations for projects. The GTE (General Translation Editor) and LM
(Locale Manager) roles can add new users with the "Project Translation
Editor" role that can approve translations for specific projects.
<br />
<br />There are two different Translation Editor roles, see:
<br /><ul>
<br /> <li><a href="#general-translation-editor">General Translation
Editor</a></li>
<br /> <li><a href="#project-translation-editor">Project Translation
Editor</a></li>
<br /></ul><br><a href="https://make.wordpress.org/polyglots/wp-
admin/post.php?post=5951&action=edit">Edit
Entry</a></span></span></span>(s) for your language using the “Team” link.
}}}
Three issues here:
* `<ul>` inside `<span>` is invalid.
* `<br />` outside of `<li>` is invalid.
* Extra text is displayed on the page, instead of being in a tooltip.
The same issue appears in the
[https://make.wordpress.org/polyglots/handbook/glossary/#translation-
editor Polyglots glossary] itself.
See the screenshots. Tested in the latest Google Chrome and Microsoft Edge
on Windows 10.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4473>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list