We use necessary cookies to make our website work. We'd also like to use optional analytics cookies to help us improve it.
For more information, please read our cookie policy.

UK – EU Transition, and UK Civil Aviation Regulations

To access current UK civil aviation regulations, including AMC and GM, CAA regulatory documents, please use this link to UK Regulation. Please note, if you use information and guidance under the Headings below, the references to EU regulations or EU websites in our guidance will not be an accurate information or description of your obligations under UK law. These pages are undergoing reviews and updates.

Checkbox

Example

Markup

                        
<div class="c-form__group">
    <label class="c-form__checkbox-label c-form__label">
        <input class="c-form__checkbox-input" type="checkbox">
        <span class="c-form__checkbox-text">View De-Registered Aircraft</span>
    </label>
</div>
                            
                        

Confirmation

Example

Markup

                        
<div class="c-confirmation c-rich-text" role="alert">
    <h2>Comment submitted</h2>
    <p>
        Thank you for commenting on this blog post. Your comment will now be moderated by the CAA, and then published.
    </p>
</div>
                            
                        

Guidance

  • Apply the alert role to the containing element to ensure that the confirmation is communicated as important information to screen reader users.
  • Move focus to the confirmation component when it's displayed i.e. on completion of a process.

Date picker

Example

e.g. 15-Sep-1972

Markup

                        
<div class="m-search-form">
    <form>
        <div class="c-form__group">
            <label class="c-form__label c-form__label--required" for="ExpiryDate">Expiry Date</label>
            <span id="ExpiryDateHint" class="c-form__label c-form__sub-label">
                    e.g. 15-Sep-1972
                </span>
            <input aria-describedby="ExpiryDateHint" class="c-form__field datepickerfield text-box single-line" data-val="true" data-val-date="The field Expiry Date must be a date." data-val-required="The Expiry Date field is required." id="ExpiryDate" name="ExpiryDate" readonly="readonly" type="text" value="" autocomplete="off">
            <span class="field-validation-valid m-search-form__message" data-valmsg-for="ExpiryDate" data-valmsg-replace="true"></span>
            <a href="#" id="ExpiryDateIcon" class="c-datepicker__icon" role="button" aria-describedby="ExpiryDate" aria-expanded="false">
                <span class="icon icon-calendar">

                </span>
                <span class="u-visuallyhidden">
                    Choose a date
                </span>
            </a><div id="AccDC1609426599474" class="c-datepicker" role="dialog" data-helptext="Press the arrow keys to navigate by day, PageUp and PageDown to navigate by month, Alt+PageUp and Alt+PageDown to navigate by year, or Escape to cancel." aria-label="Calendar" style="position: absolute; z-index: 2;"><div id="h1609426599481" role="heading" aria-level="2" aria-hidden="true" style="position: absolute; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); padding: 0px; border: 0px; height: 1px; width: 1px; overflow: hidden; white-space: nowrap;"></div><div id="AccDC1609426599477"><table role="application" class="c-datepicker__calendar" aria-label="Calendar"><tbody><tr class="yearSelector" role="presentation"><td class="c-datepicker__calendar--nav prev btn year" accesskey="1" title="Previous Year" aria-label="Previous Year" tabindex="0" role="button" id="b1609426599479pY"><span aria-hidden="true">⇐</span></td><td title="Press Escape to cancel" colspan="5" class="year" role="presentation"><span>2020</span></td><td class="c-datepicker__calendar--nav next nav prev btn" accesskey="2" title="Next Year" aria-label="Next Year" tabindex="0" role="button" id="b1609426599479nY"><span aria-hidden="true">⇒</span></td></tr><tr class="monthSelector" role="presentation"><td class="c-datepicker__calendar--nav prev btn c-datepicker__calendar--month" accesskey="3" title="Previous Month" aria-label="Previous Month" tabindex="0" role="button" id="b1609426599479p"><span aria-hidden="true">←</span></td><td colspan="5" class="c-datepicker__calendar--month" role="presentation"><span>Dec</span></td><td class="c-datepicker__calendar--nav next btn c-datepicker__calendar--month" accesskey="4" title="Next Month" aria-label="Next Month" tabindex="0" role="button" id="b1609426599479n"><span aria-hidden="true">→</span></td></tr><tr role="presentation"><th scope="col" class="c-datepicker__calendar--week" title="Sunday" role="presentation"><span>S</span></th><th scope="col" class="c-datepicker__calendar--week" title="Monday" role="presentation"><span>M</span></th><th scope="col" class="c-datepicker__calendar--week" title="Tuesday" role="presentation"><span>T</span></th><th scope="col" class="c-datepicker__calendar--week" title="Wednesday" role="presentation"><span>W</span></th><th scope="col" class="c-datepicker__calendar--week" title="Thursday" role="presentation"><span>T</span></th><th scope="col" class="c-datepicker__calendar--week" title="Friday" role="presentation"><span>F</span></th><th scope="col" class="c-datepicker__calendar--week" title="Saturday" role="presentation"><span>S</span></th></tr><tr role="presentation"><td class="empty" role="presentation"><span>&nbsp;</span></td><td class="empty" role="presentation"><span>&nbsp;</span></td><td aria-label="1, Dec 2020 (Tuesday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b16094265994791"><span aria-hidden="true">1</span></td><td aria-label="2, Dec 2020 (Wednesday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b16094265994792"><span aria-hidden="true">2</span></td><td aria-label="3, Dec 2020 (Thursday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b16094265994793"><span aria-hidden="true">3</span></td><td aria-label="4, Dec 2020 (Friday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b16094265994794"><span aria-hidden="true">4</span></td><td aria-label="5, Dec 2020 (Saturday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b16094265994795"><span aria-hidden="true">5</span></td></tr><tr role="presentation"><td aria-label="6, Dec 2020 (Sunday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b16094265994796"><span aria-hidden="true">6</span></td><td aria-label="7, Dec 2020 (Monday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b16094265994797"><span aria-hidden="true">7</span></td><td aria-label="8, Dec 2020 (Tuesday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b16094265994798"><span aria-hidden="true">8</span></td><td aria-label="9, Dec 2020 (Wednesday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b16094265994799"><span aria-hidden="true">9</span></td><td aria-label="10, Dec 2020 (Thursday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947910"><span aria-hidden="true">10</span></td><td aria-label="11, Dec 2020 (Friday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947911"><span aria-hidden="true">11</span></td><td aria-label="12, Dec 2020 (Saturday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947912"><span aria-hidden="true">12</span></td></tr><tr role="presentation"><td aria-label="13, Dec 2020 (Sunday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947913"><span aria-hidden="true">13</span></td><td aria-label="14, Dec 2020 (Monday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947914"><span aria-hidden="true">14</span></td><td aria-label="15, Dec 2020 (Tuesday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947915"><span aria-hidden="true">15</span></td><td aria-label="16, Dec 2020 (Wednesday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947916"><span aria-hidden="true">16</span></td><td aria-label="17, Dec 2020 (Thursday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947917"><span aria-hidden="true">17</span></td><td aria-label="18, Dec 2020 (Friday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947918"><span aria-hidden="true">18</span></td><td aria-label="19, Dec 2020 (Saturday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947919"><span aria-hidden="true">19</span></td></tr><tr role="presentation"><td aria-label="20, Dec 2020 (Sunday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947920"><span aria-hidden="true">20</span></td><td aria-label="21, Dec 2020 (Monday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947921"><span aria-hidden="true">21</span></td><td aria-label="22, Dec 2020 (Tuesday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947922"><span aria-hidden="true">22</span></td><td aria-label="23, Dec 2020 (Wednesday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947923"><span aria-hidden="true">23</span></td><td aria-label="24, Dec 2020 (Thursday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947924"><span aria-hidden="true">24</span></td><td aria-label="25, Dec 2020 (Friday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947925"><span aria-hidden="true">25</span></td><td aria-label="26, Dec 2020 (Saturday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947926"><span aria-hidden="true">26</span></td></tr><tr role="presentation"><td aria-label="27, Dec 2020 (Sunday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947927"><span aria-hidden="true">27</span></td><td aria-label="28, Dec 2020 (Monday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947928"><span aria-hidden="true">28</span></td><td aria-label="29, Dec 2020 (Tuesday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947929"><span aria-hidden="true">29</span></td><td aria-label="30, Dec 2020 (Wednesday)" role="link" tabindex="-1" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month" title="" id="b160942659947930"><span aria-hidden="true">30</span></td><td aria-current="date" aria-label="31, Dec 2020 (Thursday)" role="link" tabindex="0" class="c-datepicker__calendar--day c-datepicker__calendar--day-in-month c-datepicker__calendar--dayMarked selected" title="" id="b160942659947931"><span aria-hidden="true">31</span></td><td class="empty" role="presentation"><span>&nbsp;</span></td><td class="empty" role="presentation"><span>&nbsp;</span></td></tr></tbody></table></div><div aria-hidden="true" style="position: absolute; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); padding: 0px; border: 0px; height: 1px; width: 1px; overflow: hidden; white-space: nowrap;"></div></div>
        </div>
    </form>
</div>
                            
                        

Dropdown list

Example

Markup

                        
<div class="c-form__group">
    <label class="c-form__label" for="reportView">Report View</label>
    <select id="reportView" class="c-form__field " name="reportview">
        <option label="Display on Screen" value="Display on Screen" selected="selected">Display on Screen</option>
        <option label="Extract to File" value="Extract to File">Extract to File</option>
    </select>
</div>
                            
                        

Help text

Example

Search for Non-UK Regulated Agents

Markup

                        
<section class="m-module" aria-labelledby="sectionTitle">

        <h2 id="sectionTitle" class="m-module__title">Search for Non-UK Regulated Agents</h2>

        <div class="c-button-set">
            <a href="#" id="helpButton" class="c-button-set__link" role="button" aria-controls="helpText" aria-expanded="false">
                <span class="icon icon-question">

                </span>
                <span>
                    Help
                </span>
            </a>
        </div>

        <div id="helpText" class="c-rich-text c-help-text" role="complementary" aria-labelledby="helpButton">
            <h2 class="u-visuallyhidden">How to Search</h2>
            <p>A search can be made on one or more of the fields.</p>
            <h3>Multiple fields</h3>
<p>Searching across multiple fields will look for a match on all of the fields that have search criteria.  For example, if you enter a value in country AND Company Name, a result will only be returned if there is a result that matches BOTH criteria.  It is not a search for a Country or Company Name.</p>

            <h3>UAI number</h3>
<p>A search on the UAI number will look for an exact match and will only return a result if the UAI number entered is found.</p>

            <h3>Country</h3>
<p>Selecting a Country from the drop-down list will return all records that exist for the selected country.</p>
            <h3>Company name</h3>
<p>The Company name field allows for searches to be made from two characters i.e. if Br is the search criteria, this would return results for British and Bristol etc.</p>
            <h3>Validation</h3>
<p>If a field has any specific validation criteria which are not met, an error message will be displayed below that field.</p>
<p>If no results are found, a message to that effect will be returned.</p>

        </div>
    </section>
                            
                        

Guidance

  • Help text should be revealed on click of the "Help" call-to-action button positioned inline with the module title.
  • The help text should be marked up as complementary content, by applying the complementary role to its containing element.
  • The help text containing element should be labelled by the button that controls it.

Multi step form buttons

Example

Back

Markup

                        
<div id="paginationButtons" class="m-multi-step-form__buttons-wrapper" style="display:block">
    <div class="m-multi-step-form__buttons">
        <a id="prevButton" href="#" role="button" class="c-pagination__link">
            <span class="icon icon-arrow_left"></span>
            <span>Back</span>
        </a>
        <button id="nextButton" class="c-button-action c-button-action--default" type="submit">Continue</button>
    </div>
</div>
                            
                        

Guidance

  • The button set should be right aligned, at the foot of each form step.
  • The text value of the "Continue" button should be set to "Start" at the beginning of the process, and "Submit" at the end.

Radio buttons

Example

Search by:

Search by:

Markup

                        
<fieldset class="c-form__group">
    <legend class="c-form__label">Search by:</legend>
    <label class="c-form__radio-label c-form__label c-form__sub-label">
        <input id="Product" class="c-form__radio-input" type="radio" value="Product" name="SearchOption">
        <span class="c-form__radio-text">Product</span>
    </label>
    <label class="c-form__radio-label c-form__label c-form__sub-label">
        <input class="c-form__radio-input" type="radio" value="Approval No" name="SearchOption">
        <span class="c-form__radio-text">Approval No</span>
    </label>
    <label class="c-form__radio-label c-form__label c-form__sub-label">
        <input class="c-form__radio-input" type="radio" value="Category" name="SearchOption">
        <span class="c-form__radio-text">Category</span>
    </label>
</fieldset>
<hr/>
<fieldset class="c-form__group">
    <legend class="c-form__label">Search by:</legend>
    <label class="c-form__radio-label c-form__radio-label--inline c-form__label c-form__sub-label">
        <input id="Product" class="c-form__radio-input" type="radio" value="Product" name="SearchOption">
        <span class="c-form__radio-text">Product</span>
    </label>
    <label class="c-form__radio-label c-form__radio-label--inline c-form__label c-form__sub-label">
        <input class="c-form__radio-input" type="radio" value="Approval No" name="SearchOption">
        <span class="c-form__radio-text">Approval No</span>
    </label>
    <label class="c-form__radio-label c-form__radio-label--inline c-form__label c-form__sub-label">
        <input class="c-form__radio-input" type="radio" value="Category" name="SearchOption">
        <span class="c-form__radio-text">Category</span>
    </label>
</fieldset>
                            
                        

Guidance

  • Use a fieldset element to group the radio buttons and legend to label the group. This ensures that screen readers announce a given radio button as part of group when it receives focus.
  • Apply the c-form__radio-label--inline modifier class to each label element to render the radio buttons inline.

Step indicator

Example

  1. Completed: Instructions
  2. Completed: Reporter's Details
  3. Current: Date and Time of Airprox
  4. 1st Aircraft Details
  5. 2nd Aircraft Details
  6. Airprox Details
  7. Summary

Markup

                        
<div id="stepIndicator" class="c-step-indicator-wrapper">
    <ol class="c-step-indicator" aria-label="Step indicator">
        <li class="c-step-indicator__item c-step-indicator__item--past c-step-indicator__item--past">
            <span class="c-step-indicator__item-status">Completed:</span>
            <span class="c-step-indicator__item-content">
                <span class="c-step-indicator__item-text">
                    Instructions
                </span>
            </span>
        </li>
        <li class="c-step-indicator__item c-step-indicator__item--past">
            <span class="c-step-indicator__item-status">Completed:</span>
            <span class="c-step-indicator__item-content">
                <span class="c-step-indicator__item-text">
                    Reporter's Details
                </span>
            </span>
        </li>
        <li class="c-step-indicator__item c-step-indicator__item--current">
            <span class="c-step-indicator__item-status">Current:</span>
            <span class="c-step-indicator__item-content">
                <span class="c-step-indicator__item-text">
                    Date and Time of Airprox
                </span>
            </span>
        </li>
        <li class="c-step-indicator__item">
            <span class="c-step-indicator__item-status"></span>
            <span class="c-step-indicator__item-content">
                <span class="c-step-indicator__item-text">
                    1st Aircraft Details
                </span>
            </span>
        </li>
        <li class="c-step-indicator__item">
            <span class="c-step-indicator__item-status"></span>
            <span class="c-step-indicator__item-content">
                <span class="c-step-indicator__item-text">
                    2nd Aircraft Details
                </span>
            </span>
        </li>
        <li class="c-step-indicator__item">
            <span class="c-step-indicator__item-status"></span>
            <span class="c-step-indicator__item-content">
                <span class="c-step-indicator__item-text">
                    Airprox Details
                </span>
            </span>
        </li>
        <li class="c-step-indicator__item">
            <span class="c-step-indicator__item-status"></span>
            <span class="c-step-indicator__item-content">
                <span class="c-step-indicator__item-text">
                    Summary
                </span>
            </span>
        </li>
    </ol>
</div>
                            
                        

Guidance

  • For use in multi-step forms.
  • Ensure that progress is communicated both visually and in text. This is achieved by replacing the step number with the checkmark icon and replacing the visually hidden text "Current:" with "Completed:".

Submit button

Example

Markup

                        
<div class="m-search-form__advanced-buttons">
    <button type="submit" class="m-search-form__button c-button-action c-button-action--default">Search</button>
    <button type="button" class="m-search-form__button c-button-action c-button-action--invert">Reset</button>
</div>
                            
                        

Guidance

  • The submit button should always be positioned to the left and inline with the reset button when implemented as a set.
  • Only apply the c-button-action--invert modifier class to buttons that perform a cancel or reset action.

Text area

Example

The Comment field is required.

Markup

                        
<div class="m-search-form">
    <form>
        <fieldset>
            <div class="c-form__group">
                <label class="c-form__label c-form__label--required" for="Comment">Comment</label>
                <textarea aria-required="true" autocomplete="off" class="input-validation-error c-form__field" cols="20" id="Comment" name="Comment" rows="5" aria-describedby="CommentError" aria-invalid="true"></textarea>
                <span class="field-validation-error m-search-form__message" id="CommentError">The Comment field is required.</span>
            </div>
        </fieldset>
    </form>
</div>
                            
                        

Text input

Example

The Name field is required.

Markup

                        
<div class="m-search-form">
    <form>
        <fieldset>
            <div class="c-form__group">
                <label class="c-form__label c-form__label--required" for="Name">Name</label>
                <input aria-required="true" autocomplete="name" class="input-validation-error c-form__field" id="Name" name="Name" type="text" value="" aria-describedby="NameError" aria-invalid="true">
                <span class="field-validation-error m-search-form__message" id="NameError">The Name field is required.</span>
            </div>
        </fieldset>
    </form>
</div>
                            
                        

Guidance

  • Apply the c-form__label--required modifier class to the label when the field is required, and the aria-required="true" attribute to the input element itself.
  • When a field is in an error state, ensure that the the aria-invalid="true" attribute is applied to it, and that the error message is associated with the field. This can be achieved by giving the error message an id attribute (e.g. id="NameError") and using the aria-describedby attribute on the input field to point to it (e.g. aria-describedby="NameError").
  • Always apply autocomplete attributes to common input fields. For example, email fields should have the autocomplete attribute value set to "email", name field autocomplete values set to "name" and so on and so forth. See MDN for a full list of autocomplete values for common input fields.

Validation summary (in form)

Example

Markup

                        
<div class="c-form__validation-summary c-rich-text validation-summary-errors c-form__validation-summary--errors c-form__validation-summary--in-form" data-valmsg-summary="true" role="alert" aria-atomic="true" tabindex="-1">
    <h2>There are problems with the information you entered. Please correct the following and resubmit:</h2>
    <ul><li><a href="#DateOfAirprox" class="validation-error-link">The Date Of Airprox field is required.</a></li><li><a href="#TimeOfAirprox" class="validation-error-link">The Time Of Airprox field is required.</a></li></ul>
</div>
                            
                        

Guidance

  • Ensure the alert role is applied to the element to communicate its importance to screen reader users.
  • On validation failure, apply the tabindex attribute to the element, with a value of -1, and then move focus to it.
  • The aria-atomic attribute with value true ensures that screen readers announce the element's content as a whole, when only part of it changes.
  • Each list item should move focus to the corresponding element on click.

Provide page feedback

Please enter your comments below, or use our usual service contacts if a specific matter requires an answer.

Fields marked with an asterisk (*) are required.

Latest from UK Civil Aviation Authority

  1. 2022 quarter one flight data
  2. Continued focus on change for GA Team
  3. Virtual aviation work experience partnership with Springpod

View all latest news