()
| 1143 | } |
| 1144 | |
| 1145 | itemSelectionAnnounce() { |
| 1146 | let text; |
| 1147 | const optionsCount = this.options.length; |
| 1148 | const itemPositionText = Select.i18nBundle.getText(LIST_ITEM_POSITION, this._selectedIndex + 1, optionsCount); |
| 1149 | |
| 1150 | if (this.focused && this._currentlySelectedOption) { |
| 1151 | text = `${this._currentlySelectedOption.textContent as string} ${this._isPickerOpen ? itemPositionText : ""}`; |
| 1152 | |
| 1153 | announce(text, InvisibleMessageMode.Polite); |
| 1154 | } |
| 1155 | } |
| 1156 | |
| 1157 | openValueStatePopover() { |
| 1158 | this.valueStatePopover = this._getPopover() as Popover; |
no test coverage detected