Skip to content

Commit 3d2b91b

Browse files
committed
Fix select2#1946: remove an hard coded title.
The original title is copied if defined and it's sufficient for accessibility purpose. We shouldn't force the title attribute, it's especially annoying if people are using tooltip implementation based on the title attribute such as Bootstrap tooltip.
1 parent 5981dcd commit 3d2b91b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1820,7 +1820,7 @@ the specific language governing permissions and limitations under the Apache Lic
18201820
"<div class='select2-drop select2-display-none'>",
18211821
" <div class='select2-search'>",
18221822
" <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input' role='combobox' aria-expanded='true'",
1823-
" aria-autocomplete='list' title='Search field' />",
1823+
" aria-autocomplete='list' />",
18241824
" </div>",
18251825
" <ul class='select2-results' role='listbox'>",
18261826
" </ul>",

0 commit comments

Comments
 (0)