## Rule class

An abstract class that defines the characteristics of a Rule and implements interface IRule

```java
public abstract class Rule : IRule
```

## Properties

| Name | Description |
| --- | --- |
| [getCode](../../com.aspose.html.accessibility/rule/code/) Rule code from the quick reference WCAG https://www.w3.org/WAI/WCAG21/quickref/?versions=2.0 |
| [getDescription](../../com.aspose.html.accessibility/rule/description/) Description of Rule from the quick reference WCAG. https://www.w3.org/WAI/WCAG21/quickref/?versions=2.0 |

### See Also

* interface [IRule](../irule/)
* package [com.aspose.html.accessibility](../../com.aspose.html.accessibility/)
* package [Aspose.HTML](../../)
