Favorites

HTML aria-valuemax ARIA Attribute

aria-valuemax
ARIA AttributeThis ARIA attribute is supported by all modern browsers.
Updated 28th November 2026

The aria-valuemax attribute gives the maximum allowed value of a range widget, such as a slider, spin button, meter or progress bar.

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee

Description

The aria-valuemax attribute defines the maximum value of a range widget. It is used with the slider, spinbutton, scrollbar, progressbar, meter and focusable separator roles, together with aria-valuemin and aria-valuenow.

The value must be greater than or equal to aria-valuemin. If it is left out, the default is 100 for most roles. Screen readers may use the range to announce the current value as a percentage.

Native elements such as <input type="range">, <progress> and <meter> use the HTML max attribute instead.

Properties

Type
Widget
Value
number
Default
None
Used with
meter, progressbar, scrollbar, separator, slider, spinbutton

Syntax

<element role="slider" aria-valuemax="number">

Values

  • numberThe maximum value of the range.

Example

<div role="progressbar" aria-label="Upload" aria-valuemin="0" aria-valuemax="200" aria-valuenow="50"
style="width:200px;height:12px;background:#ddd">
<div style="width:25%;height:100%;background:#2563eb"></div>
</div>

Browser Support

The following information will show you the current browser support for the aria-valuemax ARIA attribute. Hover over a browser icon to see the version that first introduced support for this ARIA attribute.

This ARIA attribute is supported by all modern browsers.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported
☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee