Skip to content

Commit

Permalink
[DO NOT MERGE] npm run build on main without mangling or hashing
Browse files Browse the repository at this point in the history
  • Loading branch information
domoscargin committed Sep 1, 2022
1 parent 0a12e38 commit 501fd1a
Show file tree
Hide file tree
Showing 67 changed files with 40,475 additions and 39,928 deletions.
4 changes: 2 additions & 2 deletions deploy/public/accessibility/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ <h1 id="accessibility">Accessibility</h1>
<p>The GOV.UK Design System website and the codebase it uses, GOV.UK Frontend, is maintained by a team at the Government Digital Service (GDS).</p>
<p>This page explains how the team works to ensure the Design System and Frontend are accessible.</p>
<p><a href="https://github.com/alphagov/govuk-frontend/blob/main/docs/contributing/test-components-using-accessibility-acceptance-criteria.md">Read about how to test components using accessibility acceptance criteria.</a></p>
<h2 id="accessibility-statement-for-the-govuk-design-system-website">Accessibility statement for the GOV.UK Design System website</h2>
<h2 id="accessibility-statement-for-the-gov-uk-design-system-website">Accessibility statement for the GOV.UK Design System website</h2>
<p>This accessibility statement applies to the GOV.UK Design System at <a href="https://design-system.service.gov.uk/">https://design-system.service.gov.uk/</a>, and the components and patterns from the GOV.UK Frontend codebase which appear in the examples throughout the Design System.</p>
<p>The GOV.UK Design System team wants as many people as possible to be able to use this website. For example, that means you should be able to:</p>
<ul>
Expand Down Expand Up @@ -977,7 +977,7 @@ <h3 id="how-this-website-has-been-tested-for-accessibility">How this website has
</ul>
<p>They also tested the global search functionality that appears in the header of every page in the Design System.</p>
<p>The <a href="http://frontend.design-system.service.gov.uk/">GOV.UK Frontend documentation website</a> was last tested for accessibility issues in March 2021.</p>
<h3 id="how-the-govuk-design-system-team-makes-this-website-accessible">How the GOV.UK Design System team makes this website accessible</h3>
<h3 id="how-the-gov-uk-design-system-team-makes-this-website-accessible">How the GOV.UK Design System team makes this website accessible</h3>
<p>The GOV.UK Design System team works hard to ensure that this Design System and Frontend, the codebase it uses, are accessible.</p>
<p>Where possible, the team aims to research components and patterns with a representative range of users, including those with disabilities.</p>
<p>We also test components to ensure they work with a broad range of browsers, devices and assistive technologies - including screen magnifiers, screen readers and speech recognition tools.</p>
Expand Down
29 changes: 14 additions & 15 deletions deploy/public/community/contribution-criteria/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1063,25 +1063,24 @@ <h2 id="developing-a-component-or-pattern">Developing a component or pattern</h2
<th scope="row" class="govuk-table__header">Usable</th>
<td class="govuk-table__cell"><p>It has been tested in user research and shown to work with a representative sample of users, including those with disabilities.</p>

<pre><code>&lt;p <span class="hljs-keyword">class</span>=<span class="hljs-comment">&#x27;govuk-!-margin-bottom-0&#x27;&gt;Components and patterns which are not proven usable can be published as experimental. But they must be clearly based on relevant user research from other organisations and best practice, and meet the other criteria.<span class="hljs-doctag">&lt;/p&gt;</span><span class="hljs-doctag">&lt;/td&gt;</span></span>
&lt;/tr&gt;
&lt;tr <span class="hljs-keyword">class</span>=<span class="hljs-string">&quot;govuk-table__row&quot;</span>&gt;
&lt;th scope=<span class="hljs-string">&quot;row&quot;</span> <span class="hljs-keyword">class</span>=<span class="hljs-string">&quot;govuk-table__header&quot;</span>&gt;Consistent&lt;/th&gt;
&lt;td <span class="hljs-keyword">class</span>=<span class="hljs-string">&quot;govuk-table__cell&quot;</span>&gt;&lt;p&gt;It reuses existing styles <span class="hljs-keyword">and</span> components <span class="hljs-keyword">in</span> the Design System <span class="hljs-keyword">where</span> relevant.&lt;/p&gt;
<p class='govuk-!-margin-bottom-0'>Components and patterns which are not proven usable can be published as experimental. But they must be clearly based on relevant user research from other organisations and best practice, and meet the other criteria.</p></td>
</tr>
<tr class="govuk-table__row">
<th scope="row" class="govuk-table__header">Consistent</th>
<td class="govuk-table__cell"><p>It reuses existing styles and components in the Design System where relevant.</p>

&lt;p&gt;Both the guidance <span class="hljs-keyword">and</span> any content included <span class="hljs-keyword">in</span> examples must follow the &lt;a href=<span class="hljs-comment">&#x27;https://www.gov.uk/guidance/style-guide/a-to-z-of-gov-uk-style&#x27;&gt;GOV.UK content style guide<span class="hljs-doctag">&lt;/a&gt;</span>.<span class="hljs-doctag">&lt;/p&gt;</span></span>
<p>Both the guidance and any content included in examples must follow the <a href='https://www.gov.uk/guidance/style-guide/a-to-z-of-gov-uk-style'>GOV.UK content style guide</a>.</p>

&lt;p <span class="hljs-keyword">class</span>=<span class="hljs-comment">&#x27;govuk-!-margin-bottom-0&#x27;&gt;If there is code, it follows the <span class="hljs-doctag">&lt;a href=&#x27;https://github.com/alphagov/govuk-frontend/blob/main/CONTRIBUTING.md#conventions-to-follow&#x27;&gt;</span>GOV.UK Frontend coding standards<span class="hljs-doctag">&lt;/a&gt;</span> and is ready to merge in GOV.UK Frontend.<span class="hljs-doctag">&lt;/p&gt;</span><span class="hljs-doctag">&lt;/td&gt;</span></span>
&lt;/tr&gt;
&lt;tr <span class="hljs-keyword">class</span>=<span class="hljs-string">&quot;govuk-table__row&quot;</span>&gt;
&lt;th scope=<span class="hljs-string">&quot;row&quot;</span> <span class="hljs-keyword">class</span>=<span class="hljs-string">&quot;govuk-table__header&quot;</span>&gt;Versatile&lt;/th&gt;
&lt;td <span class="hljs-keyword">class</span>=<span class="hljs-string">&quot;govuk-table__cell&quot;</span>&gt;&lt;p&gt;The implementation <span class="hljs-keyword">is</span> versatile enough that the component <span class="hljs-keyword">or</span> pattern can be used <span class="hljs-keyword">in</span> a range <span class="hljs-keyword">of</span> different services that may need it.&lt;/p&gt;
<p class='govuk-!-margin-bottom-0'>If there is code, it follows the <a href='https://github.com/alphagov/govuk-frontend/blob/main/CONTRIBUTING.md#conventions-to-follow'>GOV.UK Frontend coding standards</a> and is ready to merge in GOV.UK Frontend.</p></td>
</tr>
<tr class="govuk-table__row">
<th scope="row" class="govuk-table__header">Versatile</th>
<td class="govuk-table__cell"><p>The implementation is versatile enough that the component or pattern can be used in a range of different services that may need it.</p>

&lt;p&gt;<span class="hljs-keyword">For</span> example, a versatile <span class="hljs-built_in">date</span> input component could be <span class="hljs-keyword">set</span> up <span class="hljs-keyword">to</span> ask <span class="hljs-keyword">for</span> a year only, a month <span class="hljs-keyword">and</span> year only, a precise <span class="hljs-built_in">date</span>, <span class="hljs-keyword">or</span> any other combination you may need.&lt;/p&gt;
<p>For example, a versatile date input component could be set up to ask for a year only, a month and year only, a precise date, or any other combination you may need.</p>

&lt;p <span class="hljs-keyword">class</span>=<span class="hljs-comment">&#x27;govuk-!-margin-bottom-0&#x27;&gt;The component or pattern must also have been tested and shown to work with a range of <span class="hljs-doctag">&lt;a href=&#x27;https://www.gov.uk/service-manual/technology/designing-for-different-browsers-and-devices&#x27;&gt;</span>browsers, assistive technologies and devices<span class="hljs-doctag">&lt;/a&gt;</span>.<span class="hljs-doctag">&lt;/p&gt;</span><span class="hljs-doctag">&lt;/td&gt;</span></span>
&lt;/tr&gt;
</code></pre>
<p class='govuk-!-margin-bottom-0'>The component or pattern must also have been tested and shown to work with a range of <a href='https://www.gov.uk/service-manual/technology/designing-for-different-browsers-and-devices'>browsers, assistive technologies and devices</a>.</p></td>
</tr>
</tbody>
</table>

Expand Down
4 changes: 2 additions & 2 deletions deploy/public/community/resources-and-tools/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1053,10 +1053,10 @@ <h2 id="create-prototypes-and-wireframes">Create prototypes and wireframes</h2>
<p><a href="https://github.com/dwp/sketch_wireframing_kit">Sketch Wireframing Kit</a> -
Sketch wireframes based on the GOV.UK Design System.</p>
<h2 id="build-front-ends">Build front ends</h2>
<h3 id="aspnet-mvc">ASP.NET MVC</h3>
<h3 id="asp-net-mvc">ASP.NET MVC</h3>
<p>Guidance on <a href="https://github.com/nouriach/compile-gds-runtime-dotnet">bringing the GOV.UK Design System into a .NET MVC Project</a> -
A walkthrough for how to import the GOV.UK Design System into a MVC project and compile the sass at runtime using gulp.</p>
<h3 id="nodejs">Node.js</h3>
<h3 id="node-js">Node.js</h3>
<p>Guidance on <a href="https://github.com/DEFRA/hapi-govuk-examples">building a hapi service using GOV.UK Frontend</a>.</p>
<h3 id="python">Python</h3>
<p><a href="https://github.com/LandRegistry/govuk-frontend-jinja">GOV.UK Frontend Jinja</a> -
Expand Down
Loading

0 comments on commit 501fd1a

Please sign in to comment.