Class AccessibilityRules

Class AccessibilityRules

Namespace: Aspose.Html.Accessibility
Assembly: Aspose.HTML.dll (25.1.0)

Tham khảo nhanh về các yêu cầu của Hướng dẫn Truy cập Nội dung Web (WCAG) 2 (tiêu chí thành công) và kỹ thuật.
Chứa danh sách Nguyên tắc.

https://www.w3.org/WAI/WCAG21/quickref/

[ComVisible(true)]
public class AccessibilityRules

Kế thừa

objectAccessibilityRules

Các thành viên kế thừa

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Phương thức

GetPrinciple(string)

Lấy Nguyên tắc theo mã từ WCAG

public Principle GetPrinciple(string code)

Tham số

code string

mã nguyên tắc từ WCAG

Trả về

Principle

đối tượng Nguyên tắc

GetPrinciples()

Lấy danh sách tất cả các quy tắc từ tham khảo nhanh

public IEnumerable<principle> GetPrinciples()

Trả về

IEnumerable<Principle&gt;

danh sách các đối tượng Nguyên tắc

GetRules(params string[])

Lấy các quy tắc theo mã từ WCAG với loại IRule

public IList<irule> GetRules(params string[] codes)

Tham số

codes string[]

danh sách mã quy tắc từ WCAG

Trả về

IList<IRule&gt;

đối tượng IList{IRule}

 Tiếng Việt