layoutChanged = true;
Add(itemLabel);
}
- itemLabel.AppendAccessibilityRelation(this, AccessibilityRelationType.ControlledBy);
- this.AppendAccessibilityRelation(itemLabel, AccessibilityRelationType.LabelledBy);
}
return itemLabel;
}
//need to consider horizontal/vertical!
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = 2,
- ExcludeLayouting = true
+ ExcludeLayouting = true,
+ AccessibilityHidden = true
};
layoutChanged = true;
Add(itemSeperator);
}
/// <summary>
+ /// Get accessibility name.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ protected override string AccessibilityGetName()
+ {
+ return Label.Text + ", " + SubLabel.Text;
+ }
+
+ /// <summary>
/// Creates Item's text part.
/// </summary>
/// <return>The created Item's text part.</return>
return new TextLabel(style)
{
HorizontalAlignment = HorizontalAlignment.Begin,
- VerticalAlignment = VerticalAlignment.Center
+ VerticalAlignment = VerticalAlignment.Center,
+ AccessibilityHidden = true
};
}