Support » Plugin: Accordion Shortcodes » W3 Validation – Bad Value

  • Resolved harvoolio

    (@harvoolio)


    When I run my code through the validation I am getting the below error for each accordion. Thanks.

    Error: Bad value MBA Resources for attribute id on element h3: An ID must not contain whitespace.
    From line 144, column 1; to line 144, column 140
    tablist”>↩<h3 id=”MBA Resources” class=”accordion-title” role=”tab” aria-controls=”content-MBA Resources” aria-selected=”false” aria-expanded=”false”>MBA Re
    Syntax of id:
    An ID consists of at least one character but must not contain any whitespace.

    https://wordpress.org/plugins/accordion-shortcodes/

Viewing 1 replies (of 1 total)
  • Plugin Author philbuchanan

    (@philbuchanan)

    Your IDs cannot contain whitespace (spaces). Right now your ID is set to MBA Resources. Try setting it to something like mba-resources.

Viewing 1 replies (of 1 total)
  • The topic ‘W3 Validation – Bad Value’ is closed to new replies.