共用方式為


ariaValuemax property

Sets or retrieves the maximum value that a user can provide.

 

Syntax

object.setAttribute("ariaValuemax",value);var value = object.getAttribute("ariaValuemax");

Property values

Type: BSTR

The maximum value.

Standards information

Remarks

Used in Roles range

 

The IHTMLElement5::ariaValuemin and IHTMLElement5::ariaValuemax properties together specify the allowable range of an entry field, whereas the IHTMLElement5::ariaValuenow property specifies the value currently selected.

Note  For cross-browser compatibility, always use the WAI-ARIA attribute syntax to access and modify ARIA properties, for example object.setAttribute("aria-valuenow", newValue).

 

See also

Accessible Rich Internet Applications (ARIA)