Details

      Description

      Description:
      In <aui: input> and in the <liferay-ui: search-paginator> of type "lexicon" the SVG has attribute role="presentation" which is unsupported and needs to be replaced by attribute aria-hidden="true".

      Steps to reproduce:

      1) We use the basic Service builder example from https://github.com/liferay/liferay-blade-samples/tree/7.0/gradle/apps/service-builder/basic to reproduce the issue

      2) In basic-service resources/META-INF/portlet-model-hints.xml we added the following validator for field1 

      <field name="field1" type="String" >
       <validator name="required" />
      </field>

      3) We deployed the service with the api and web module, and once added to the page we introduce more data to have the pagination available

      4) Once inspect the HTML code displayed by our widget, we can observe that for the following SVG images we have the unsuported attribute role="presentation"

      <svg class="lexicon-icon lexicon-icon-asterisk" focusable="false" role="presentation" viewBox="0 0 512 512"
      <svg class="lexicon-icon lexicon-icon-angle-left" focusable="false" role="presentation" viewBox="0 0 512 512">

       Result: we could see the unsupported attribute role="presentation" added to the SVG element

       Expected: the supported attribute aria-hidden="true" whitout attribute role="presentation" appears added in the SVG element

       

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            georgel.pop Georgel Vasile Pop
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 10 weeks, 6 days ago

                Packages

                Version Package
                7.0.0 DXP FP94
                7.0.10.15 DXP SP15
                7.0.X
                7.1.10 DXP FP19
                7.1.10.5 SP5
                7.1.X
                7.2.10 DXP FP8
                7.2.10.3 DXP SP3
                7.2.X
                7.3.4 CE GA5
                7.3.10 DXP GA1
                Master