     let pickerView = PDColorPickerGridView()
     pickerView.delegate = self
     pickerView.dataSource = self
+
+    if #available(iOS 11.0, *) {
+      pickerView.accessibilityIgnoresInvertColors = true
+    }
+
     return pickerView
   }()
 
   lazy var colorSliderView: PDColorPickerSliderView = {
     let sliderView = PDColorPickerSliderView()
     sliderView.delegate = self
+
+    if #available(iOS 11.0, *) {
+      sliderView.accessibilityIgnoresInvertColors = true
+    }
+
     return sliderView
   }()
 

  /// Whether or not to display the hexadecimal code in the selected color preview.
  /// The default value is `true`.
  open var showHexString = true

  /// The font to be used on the **Cancel** button and color preview.
  ///

    label.layer.borderColor = UIColor.black.cgColor

    label.isUserInteractionEnabled = true

    if #available(iOS 11.0, *) {
      label.accessibilityIgnoresInvertColors = true
    }

    return label
  }()
