What is going on

Hi,

I am trying to get to the bottom of how and why in ‘[New]’ is being included in a `title` attribute for links to glossary terms. For example, https://www.w3.org/TR/WCAG22/#dfn-perimeter, includes a link to ‘minimum bounding box’. The link is written as:

<a href="#dfn-bounding-boxes" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-bounding-boxes-2" title="[New]">minimum bounding box</a>

The source pre-ReSpec for the minimum bounding box definition is:

<dt class="new"><dfn data-lt="bounding boxes|bounding box">minimum bounding box</dfn></dt>
<dd class="new">
 <p class="change">New</p> 
   <p>the smallest enclosing rectangle aligned to the horizontal axis within which all the points of a shape lie. For components which wrap onto multiple lines as part of a sentence or block of text (such as hypertext links), the bounding box is based on how the component would appear on a single line.</p>
</dd>

I am guessing the addition of ‘[New]’ is because of the `class=“new”` in the <dt> or <dd>. However, I can’t find anything in the documentation that indicates why or how this happens. Got any links?

Thanks

Kevin

Received on Thursday, 7 December 2023 10:28:16 UTC