You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/24 11:34:53 UTC

(maven-site) branch master updated (bbf4378e -> c685879a)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git


    from bbf4378e fix vsg object rendering from .md
     new 2de6c472 Fix structurally invalid HTML on the RM helper page
     new 38c08f61 Trim the inline style on the replacement headings
     new 67899c06 Keep the demoted headings in the accessibility outline
     new c685879a Revert "Keep the demoted headings in the accessibility outline"

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../website/component-reference-documentation-helper.md        | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)


(maven-site) 04/04: Revert "Keep the demoted headings in the accessibility outline"

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit c685879ab80a542f9d7a21e7a3ddf23ce4f3dbcf
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Aug 24 12:54:22 2026 +0200

    Revert "Keep the demoted headings in the accessibility outline"
    
    This reverts commit 2f2c5ab798b2bb9c6703cb83023274afebd0aef3.
---
 .../developers/website/component-reference-documentation-helper.md  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/content/markdown/developers/website/component-reference-documentation-helper.md b/content/markdown/developers/website/component-reference-documentation-helper.md
index 44526912..04e5e584 100644
--- a/content/markdown/developers/website/component-reference-documentation-helper.md
+++ b/content/markdown/developers/website/component-reference-documentation-helper.md
@@ -24,7 +24,7 @@ select component category, then type artifact id and version to generate svn com
 <table>
 <tr><td>
 <a id="Component_category"></a>
-<output role="heading" aria-level="3" style="display:block;margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component category</output>
+<p style="margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component category</p>
 <ul>
 <li><a href="?core">core</a></li>
 <li><a href="?shared">shared components</a></li>
@@ -42,7 +42,7 @@ select component category, then type artifact id and version to generate svn com
 
 </td><td>
 <a id="Component_information"></a>
-<output role="heading" aria-level="3" style="display:block;margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component information</output>
+<p style="margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component information</p>
 
 <div>directory (~artifact id): <input type="text" name="artifactId" id="artifactId" style="vertical-align: baseline"/></div>
 <div>version: <input type="text" name="version" id="version" style="vertical-align: baseline"/></div>
@@ -53,7 +53,7 @@ select component category, then type artifact id and version to generate svn com
 
 <tr><td colspan="3">
 <a id="Instructions_to_publish_component_release_documentation"></a>
-<output role="heading" aria-level="3" style="display:block;margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Instructions to publish component release documentation</output>
+<p style="margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Instructions to publish component release documentation</p>
 <pre id="svnmucc">svnmucc -m "Publish ${artifactId} ${version} documentation" \
   -U https://svn.apache.org/repos/asf/maven/website/components \
   cp HEAD ${category}-archives/${artifactId}-LATEST${vSuffix} ${category}-archives/${artifactId}-${version} \


(maven-site) 01/04: Fix structurally invalid HTML on the RM helper page

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit 2de6c4725bc920531168a9338a6cbaac82833f45
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Aug 24 12:42:54 2026 +0200

    Fix structurally invalid HTML on the RM helper page
    
    The three raw <h3> headings inside the component reference table each
    opened a Doxia section that Doxia only closes on the next heading, so
    </td>/</tr>/</table> closed over an open <section>, and the last one
    stayed open through the whole <script> block. Browsers already repair
    this silently, so nothing was visibly broken; this is a pure structural
    fix. Replaced each <h3> with a non-heading element carrying the same
    computed style, with the same <a id="..."> anchor placed explicitly so
    the three published anchors (Component_category, Component_information,
    Instructions_to_publish_component_release_documentation) keep resolving
    exactly as before.
---
 .../website/component-reference-documentation-helper.md        | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/content/markdown/developers/website/component-reference-documentation-helper.md b/content/markdown/developers/website/component-reference-documentation-helper.md
index c392366d..b481756f 100644
--- a/content/markdown/developers/website/component-reference-documentation-helper.md
+++ b/content/markdown/developers/website/component-reference-documentation-helper.md
@@ -23,7 +23,8 @@ select component category, then type artifact id and version to generate svn com
 
 <table>
 <tr><td>
-<h3>Component category</h3>
+<a id="Component_category"></a>
+<p style="margin:10px 0;font-family:inherit;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component category</p>
 <ul>
 <li><a href="?core">core</a></li>
 <li><a href="?shared">shared components</a></li>
@@ -40,8 +41,8 @@ select component category, then type artifact id and version to generate svn com
 </ul>
 
 </td><td>
-
-<h3>Component information</h3>
+<a id="Component_information"></a>
+<p style="margin:10px 0;font-family:inherit;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component information</p>
 
 <div>directory (~artifact id): <input type="text" name="artifactId" id="artifactId" style="vertical-align: baseline"/></div>
 <div>version: <input type="text" name="version" id="version" style="vertical-align: baseline"/></div>
@@ -51,7 +52,8 @@ select component category, then type artifact id and version to generate svn com
 </td></tr>
 
 <tr><td colspan="3">
-<h3>Instructions to publish component release documentation</h3>
+<a id="Instructions_to_publish_component_release_documentation"></a>
+<p style="margin:10px 0;font-family:inherit;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Instructions to publish component release documentation</p>
 <pre id="svnmucc">svnmucc -m "Publish ${artifactId} ${version} documentation" \
   -U https://svn.apache.org/repos/asf/maven/website/components \
   cp HEAD ${category}-archives/${artifactId}-LATEST${vSuffix} ${category}-archives/${artifactId}-${version} \


(maven-site) 03/04: Keep the demoted headings in the accessibility outline

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit 67899c06cc69a0017a09cefe9df5f5b6da03272d
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Aug 24 12:52:38 2026 +0200

    Keep the demoted headings in the accessibility outline
    
    Doxia's paragraph sink only lets class/id/lang/style/title through its
    attribute allow-list, silently dropping role/aria-level - confirmed by
    testing on <p> directly. <output> isn't a tag Doxia's HTML parser
    recognizes, so it's passed through via the sink's unknown-element path
    instead, which writes attributes verbatim. Styled display:block with
    the same rule as before, it renders identically to the <p> it replaces
    while keeping the three headings in the accessibility tree as
    role="heading" aria-level="3".
---
 .../developers/website/component-reference-documentation-helper.md  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/content/markdown/developers/website/component-reference-documentation-helper.md b/content/markdown/developers/website/component-reference-documentation-helper.md
index 04e5e584..44526912 100644
--- a/content/markdown/developers/website/component-reference-documentation-helper.md
+++ b/content/markdown/developers/website/component-reference-documentation-helper.md
@@ -24,7 +24,7 @@ select component category, then type artifact id and version to generate svn com
 <table>
 <tr><td>
 <a id="Component_category"></a>
-<p style="margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component category</p>
+<output role="heading" aria-level="3" style="display:block;margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component category</output>
 <ul>
 <li><a href="?core">core</a></li>
 <li><a href="?shared">shared components</a></li>
@@ -42,7 +42,7 @@ select component category, then type artifact id and version to generate svn com
 
 </td><td>
 <a id="Component_information"></a>
-<p style="margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component information</p>
+<output role="heading" aria-level="3" style="display:block;margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component information</output>
 
 <div>directory (~artifact id): <input type="text" name="artifactId" id="artifactId" style="vertical-align: baseline"/></div>
 <div>version: <input type="text" name="version" id="version" style="vertical-align: baseline"/></div>
@@ -53,7 +53,7 @@ select component category, then type artifact id and version to generate svn com
 
 <tr><td colspan="3">
 <a id="Instructions_to_publish_component_release_documentation"></a>
-<p style="margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Instructions to publish component release documentation</p>
+<output role="heading" aria-level="3" style="display:block;margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Instructions to publish component release documentation</output>
 <pre id="svnmucc">svnmucc -m "Publish ${artifactId} ${version} documentation" \
   -U https://svn.apache.org/repos/asf/maven/website/components \
   cp HEAD ${category}-archives/${artifactId}-LATEST${vSuffix} ${category}-archives/${artifactId}-${version} \


(maven-site) 02/04: Trim the inline style on the replacement headings

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit 38c08f61ac3ff56d746d7b73267ffa552840a38e
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Aug 24 12:49:07 2026 +0200

    Trim the inline style on the replacement headings
    
    Drop font-family:inherit, keeping only the durable subset that mirrors
    the skin's h3 rule (font-size/weight/line-height/margin/color:inherit).
    role="heading" aria-level="3" was tried and dropped again: Doxia's
    paragraph sink only lets class/id/lang/style/title through its
    attribute allow-list, so ARIA attributes are silently stripped and
    never reached the page.
---
 .../developers/website/component-reference-documentation-helper.md  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/content/markdown/developers/website/component-reference-documentation-helper.md b/content/markdown/developers/website/component-reference-documentation-helper.md
index b481756f..04e5e584 100644
--- a/content/markdown/developers/website/component-reference-documentation-helper.md
+++ b/content/markdown/developers/website/component-reference-documentation-helper.md
@@ -24,7 +24,7 @@ select component category, then type artifact id and version to generate svn com
 <table>
 <tr><td>
 <a id="Component_category"></a>
-<p style="margin:10px 0;font-family:inherit;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component category</p>
+<p style="margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component category</p>
 <ul>
 <li><a href="?core">core</a></li>
 <li><a href="?shared">shared components</a></li>
@@ -42,7 +42,7 @@ select component category, then type artifact id and version to generate svn com
 
 </td><td>
 <a id="Component_information"></a>
-<p style="margin:10px 0;font-family:inherit;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component information</p>
+<p style="margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Component information</p>
 
 <div>directory (~artifact id): <input type="text" name="artifactId" id="artifactId" style="vertical-align: baseline"/></div>
 <div>version: <input type="text" name="version" id="version" style="vertical-align: baseline"/></div>
@@ -53,7 +53,7 @@ select component category, then type artifact id and version to generate svn com
 
 <tr><td colspan="3">
 <a id="Instructions_to_publish_component_release_documentation"></a>
-<p style="margin:10px 0;font-family:inherit;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Instructions to publish component release documentation</p>
+<p style="margin:10px 0;font-weight:bold;line-height:40px;color:inherit;font-size:24.5px;">Instructions to publish component release documentation</p>
 <pre id="svnmucc">svnmucc -m "Publish ${artifactId} ${version} documentation" \
   -U https://svn.apache.org/repos/asf/maven/website/components \
   cp HEAD ${category}-archives/${artifactId}-LATEST${vSuffix} ${category}-archives/${artifactId}-${version} \