Table of Contents

Class TableAccessibilitySettings

Namespace
OfficeOpenXml.Export.HtmlExport.Accessibility
Assembly
EPPlus.dll

This class controls how accessibility attributes will be set in the exported html.

public class TableAccessibilitySettings
Inheritance
TableAccessibilitySettings
Inherited Members

Constructors

TableAccessibilitySettings()

public TableAccessibilitySettings()

Properties

AddAccessibilityAttributes

Controls whether accessibility attributes will be added to the html.

public bool AddAccessibilityAttributes { get; set; }

Property Value

bool

AriaDescribedBy

Value of the aria-describedby attribute

public string AriaDescribedBy { get; set; }

Property Value

string

AriaLabel

Value of the aria-label attribute

public string AriaLabel { get; set; }

Property Value

string

AriaLabelledBy

Value of the aria-labelledby attribute

public string AriaLabelledBy { get; set; }

Property Value

string

TableHeaderCellRole

Value of the role attribute on the thead.tr.td element. Default value: columnheader

public string TableHeaderCellRole { get; set; }

Property Value

string

TableRole

Value of the role attribute on the table element. Default value: table

public string TableRole { get; set; }

Property Value

string

TbodyRole

Value of the role attribute on the tbody element. Default value: rowgroup

public string TbodyRole { get; set; }

Property Value

string

TfootRole

Value of the role attribute on the tfoot element. Default value: rowgroup

public string TfootRole { get; set; }

Property Value

string

TheadRole

Value of the role attribute on the thead element. Default value: rowgroup

public string TheadRole { get; set; }

Property Value

string

Methods

Copy(TableAccessibilitySettings)

Copies all properties from one instance to another.

public void Copy(TableAccessibilitySettings copy)

Parameters

copy TableAccessibilitySettings

ResetToDefault()

Reset all properties to their default value

public void ResetToDefault()