All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.deque.axe.android.rules.hierarchy.TouchSizeWcag Maven / Gradle / Ivy

The newest version!
package com.deque.axe.android.rules.hierarchy;

import com.deque.axe.android.constants.AxeImpact;
import com.deque.axe.android.constants.AxeStandard;
import com.deque.axe.android.rules.hierarchy.base.TouchSize;

public class TouchSizeWcag extends TouchSize {

  private static final int WCAG_TARGET_SIZE = 44;

  /**
   * Active views adhere to WCAG Touch Target Size requirements.
   */
  public TouchSizeWcag() {
    super(AxeStandard.WCAG_21, AxeImpact.MODERATE,
        "Active views adhere to WCAG Touch Target Size requirements.",
        WCAG_TARGET_SIZE);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy